Adding GdomeElement
- From: Lauris Kaplinski <lauris ariman ee>
- To: gdome rpmfind net
- cc: gnome-devel-list gnome org
- Subject: Adding GdomeElement
- Date: Thu, 26 Aug 1999 02:31:03 +0300 (EEST)
Hello
I have to add new node to existing gdome tree (created from xml using
gdome_xml_from_document). Currently I do it as follows:
...
doc = gdome_n_ownerDocument (perentnode, &exc);
new = gdome_Document_createElement (doc, tagName, &exc);
gdome_n_appendChild (parentnode, new, &exc);
...
The gdome_Document_createElement returns (GdomeDOMNode *): It it correct
to cast it to (GdomeNode *) in current context?
Lauris Kaplinski
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]