You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-users@xerces.apache.org by Ramon F Herrera <ra...@forcewise.com> on 2010/01/23 04:45:04 UTC
Who is the parent of Adam?
Please correct me if I am wrong, but it seems to me that the parent
of the XML DOM document's top node is some undefined pointer.
I have tried to navigate to the top, in an elegant fashion, like this:
for (node = current; node; node = node->getParentNode())
but alas, the search crashes. I tried to force the top node parent
to hold the logical value:
node->setParentNode(NULL);
but there is no such statement.
TIA,
-Ramon