I'm having something odd happen with appends when using the XML:DB api:
On calling the following xUpdateQueryService.updateResource("<name>", "<xml">) with
<xupdate:modifications version="1.0" xmlns:xupdate="http://www.xmldb.org/xupdate"><xupdate:append select="document/[EMAIL PROTECTED]'tileSetOne']" ><tile definition="maths:=" name="needaname" x="467" y="300"><socket name="var1"/><socket name="var2"/></tile></xupdate:append></xupdate:modifications>
it seems that Xindice does not append the <tile ...><socket ... /></tile> to the <tileSet> element, but instead inserts
<temporaryXUpdateTree><tile definition="maths:=" name="needaname" x="467" y="300"><socket name="var1" /><socket name="var2" /></tile></temporaryXUpdateTree></document>
after the <tileSet> node (so appending the temporaryXUpdateTree node to tileSet's parent.)
Does anybody have any ideas why this might be, and why the nodes aren't being appended in the right place?
Will Billingsley