Re: [bdbxml] XmlValue/XmlDocument problems

George Feinberg <[email protected]> Wed, 17 Aug 2005 11:05:44 -0400
Newsgroups gmane.comp.db.dbxml.general
Message-ID <[email protected]>
On Aug 17, 2005, at 10:52 AM, Jim Endicott wrote:

> 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.

Regards,

George

>
> Shouldn't it return the same String as the XmlValue asString?
>
> Jim



------------------------------------------
To remove yourself from this list, send an
email to [email protected]