Re: [bdbxml] reshaping results
Tom McCubbin <[email protected]>
| Newsgroups | gmane.comp.db.dbxml.general |
|---|---|
| Message-ID | <[email protected]> |
The XmlDocument will contain the document that *contained the result*.
You will likely want to get the XmlValue instead and use the
XmlValue::asString() method.
that's my experience at least ;)
-tom
Green, Spence wrote:
>All,
> I'm having trouble reshaping the results of a query. The flwor expression works well and when I do this:
>
>return $i
>
>where $i was bound to the root of the document with a for expression, I get proper XML back. When I do this:
>
>return <b> {$i} </b>
>
>I still get results back from the query, but when I do getContent() on each XmlDocument, I get garbage in the resulting std::string. Am I missing something here? Thanks for any help.
>
>
>
>Spence Green
>
>
>
>
>------------------------------------------
>To remove yourself from this list, send an
>email to [email protected]
>
>