As part of my tests, I create a document in a collection and then add nodes. Then I read that value back. I use XPath to search and retrieve the document. It seems to be working fine. I am using the embedded version of Xindice.
regards, Mark cbo19 wrote: > 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. -- Mark J Stang System Architect Cybershop Systems
begin:vcard n:Stang;Mark x-mozilla-html:TRUE adr:;;;;;; version:2.1 email;internet:[EMAIL PROTECTED] fn:Mark Stang end:vcard