Hi 

Well you are seem to be right, the specification at
http://xmldb.org/xupdate/xupdate-wd.html#N6d2633

and the use cases (which I often use for reference)
http://www.xmldatabases.org/projects/XUpdate-UseCases/#10

are only showing update of single a text node.

You can do a workaround for your task, by combining two xupdate commands

<xu:modifications version="1.0" xmlns:xu="http://www.xmldb.org/xupdate";>
  <xu:remove select="/page/paragraph[1]/*"></xu:update>
  <xu:append select="/page/paragraph[1]"><text>Test</text></xu:update>
</xu:modifications>

regards


Reply via email to