Re: [bdbxml] XmlValue/XmlDocument problems
Jim Endicott <[email protected]> Wed, 17 Aug 2005 15:32:17 +0000 (UTC)
| Newsgroups | gmane.comp.db.dbxml.general |
|---|---|
| Message-ID | <[email protected]> |
George Feinberg <gmf@...> writes: > > I am having a problem using these classes. I get an XmlValue from > > an XmlResults > > object, isNode returns true so I call asDocument and get the > > XmlDocument object > > (asString returns the expected xml). When I call getContentAsString > > () on the > > XmlDocument it returns an empty string. > > I suspect you are using DeadValues for query results. > You need to use LiveValues if you want a useful XmlDocument object. This works if the result of the query is a document 'as is' from the container. When the result document is created by the query with bits of information taken from many of the container's documents, the same problem is encountered. Is there any way to get the XmlDocument object to not add <?xml version="1.0" encoding="UTF-8"?> ?? Jim ------------------------------------------ To remove yourself from this list, send an email to [email protected]