On Wed, 2 Apr 2003, Bagepalli, Kiran wrote: > A small glitch when I started using the code. > > If I have XML embedded in the documentation > for eg. > <annotation> > <documentation><store><ID>12</ID><NAME>S1</NAME></store></documentation> > </annotation> > > Ideally speaking if I get the documentation I would be expecting a text of > <store><ID>12</ID><NAME>S1</NAME></store>. > However the traverseSchema DOM eats away this as a Node and only return > 12S1. This forces me escape all this content by > > < which is very inconvenient. > > Kiran
This is exactly the reason I made documentation and appinfo domnodes. ;) You don't lose anything. And I clone the nodes, so that when the domtree is killed, you still have something to traverse. But this was a quick and easy hack. I'm sure there's something better... or is there? -Richard Balint ----- Hark! I am yclept ps, son of Bourne Shell, daughter of Emacs, son of Dash-shell, great-great-grandson of the ancient and holy INIT! [EMAIL PROTECTED] http://sir.woody.hackswell.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]