[xquery-talk] XQuery Update: replacing element content with a sequence of nodes

Florent Georges lists at fgeorges.org
Thu Apr 14 16:38:23 PDT 2011

Jonathan Robie wrote:

> I could imagine a future version of XQuery Update that
> supports this use case directly, e.g.

> replace content of node parent
> with (<one/><two/>)

> I'm not married to this syntax, but it's analogous to the
> existing "replace value of node".

  Yes, that's what I had in mind too.  Well, more exactly:

    replace content of node $parent with (
      <one/> ,

but really, I don't want to revive the discussions about the comma in XQuery ;-)


Florent Georges

More information about the talk mailing list