[xquery-talk] Sequence from String-Literal

Mary Holstege holstege at mathling.com
Fri May 11 15:20:36 PDT 2007

On Fri, 11 May 2007 13:37:13 -0700, Liam Quin <liam at w3.org> wrote:

> On Fri, May 11, 2007 at 09:11:47PM +0100, Michael Kay wrote:
>> I find the most common use case is when people wrap one XML document inside
>> another using CDATA. It seems a perverse thing to do, but a lot of people do
>> it!
> RSS and RDF in general often seem to demand this.
> It's not clear to me whether this is a sufficient use case to
> consider extending XQuery, but it may well be.
> Liam

The cases I have seen is where I want to do a quick-and-dirty
parse in XQuery of some textual format so I can get XML to
play with.  You can get pretty far with fn:replace, as long as
you can then parse the string into XML at the end of it.


More information about the talk mailing list