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

Florent Georges lists at fgeorges.org
Thu Apr 14 14:17:49 PDT 2011


Andrew Welch wrote:

  Hi,

> how about replacing the parent node itself instead:

> replace node parent with
> <parent><one/><two/></parent>

  Yes, that's the conclusion I reached too.  But I thought replacing all the content of an element was a general-enough use case, so I thought I missed something.

  Thank you all for your response!

-- 
Florent Georges
http://fgeorges.org/






More information about the talk mailing list