Re: [bdbxml] Tree view of the Xml Value
John Snelson <[email protected]> Wed, 03 Aug 2005 13:33:46 +0100
| Newsgroups | gmane.comp.db.dbxml.general |
|---|---|
| Message-ID | <[email protected]> |
sarigiannis xaralampos wrote: > John thanks for the interest you are right for not understanding. For > simple Xqueries XmlValue::asString() method does really work. when for > example i query to see some part of an xmlFile i see the tree view of the > file . I have a complicated query more than 100 lines that transforms an > Xml doc to an html doc. The result I get is like > <hr><i><p><p> lalas </p></p></i></hr> when it would be preferable to be > like : > <hr> > <i> > <p> > <p> lalas </p> > </p> > </i> > </hr> > > > This is what I mean . The problem is that when I want to see html code I see > a long line only. You may like to try adding "declare boundary-space preserve;" to the top of your query. This should avoid stripping out any whitespace you put in your query. John -- John Snelson, Berkeley DB XML Engineer Sleepycat Software, Inc http://www.sleepycat.com Contracted to Sleepycat through Parthenon Computing Ltd http://blog.parthcomp.com/dbxml ------------------------------------------ To remove yourself from this list, send an email to [email protected]