Re: [bdbxml] *Another* Reshaping problem
John Snelson <[email protected]>
| Newsgroups | gmane.comp.db.dbxml.general |
|---|---|
| Message-ID | <[email protected]> |
Green, Spence wrote:
> John,
> Thanks for the feedback. That solution works not exactly as I
> hoped, but well enough. I thought that I could return metadata using
> the return's reshaping feature, but am having issues. I can do this:
>
> let $x := dbxml:metadata('dbxml:name', $i);
>
> But not this
>
> let $y := dbxml:metadata("uri:lock", $i);
>
> Where "uri:lock" is a metadata field I set using setMetaData() on an
> XmlDocument. I can read that field if I return normal docs (no
> reshaping) using the getMetaData() method. In the reshaping approach,
> though, I either get an exception or an empty set. I apologize in
> advance for my ignorance. I've got an XQuery book and have looked all
> over the web, but specific implementations of the standard have nuances
> that are killing me. Thanks so much.
Is the prefix "uri" bound to the correct namespace for your metadata?
John
--
John Snelson, BDB XML Engineer +44-1865-811184
Sleepycat Software, Inc http://www.sleepycat.com
------------------------------------------
To remove yourself from this list, send an
email to [email protected]