Hi all,

Having trouble with seeing appended child nodes to an existing xml
document node in the xindice DB. Using xupdate I can apppend nodes,
however when I then traverse the tree using xerces I am unable to get
the child nodes!???

XUpdate seems to add the node ok, and when I rd the document it looks to
be in the correct form. However, when I retrieve the recently updated
document from xindice as a DOM using XMLResource.getDocumentAsDOM( ),
and use the dom api hasChildNodes( ) I get a false returning. I am also
unable to retrieve the children as a NodeList using getChildNodes( ).

Is there a trick to using xupdate to update your xml documents in the
database, and actually have those changes show up in the DOM? I thought
by getting the updated document as a DOM this would automatically be
taken care of.

I am running a CVS 1.1b version of xindice, xerces 2.2 and  jdk1.4.1 on
XP.

I am a little lost..................please help.

Thanks heaps
Carl.


Reply via email to