Well, you just need to specify more exactly what your trying to update... I have only seen that happen when I have tried to update a file with a multiple line update statement and parts of the rest of the update don't match elements inside the document.
Is that the entire update that your sending? Can you send the document that this "temporarytree" is showing up on? Todd String xupd = "<xupdate:modifications version=\"1.0\"" + " xmlns:xupdate=\"http://www.xmldb.org/xupdate\<http://www.xmldb.org/xupdate%5C>">" + "<xupdate:insert-after select=\"/scheda/info/id[value='1']\">" + "<xupdate:element name=\"commento\">Bel libro!</xupdate:element>" + "</xupdate:insert-after>" + "</xupdate:modifications>"; On 4/26/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
Thank you very much, Vadim and Todd. My project can restart. Bye ---------- Initial Header ----------- From : "Todd Byrne" [EMAIL PROTECTED] To : xindice-users@xml.apache.org Cc : Date : Thu, 26 Apr 2007 15:19:01 -0600 Subject : Re: Xupdate not work! Please help me! > Its a bug with XUpdate if the select statement fails to select an item it > doesn't clean up after its self and leaves the temporary tree. Not much you > can do other then not create updates for elements that don't exist in the > documents that you are updating. > > Todd > > On 4/26/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > > Thank Vadim for response!!! > > Now, it is work!!! > > I'm very happy! I have also correct the line: > > > > String xupd = "<xupdate:modifications version=\"1.0\"" + > > " xmlns:xupdate=\"http://www.xmldb.org/xupdate\">" > > > > in: > > > > String xupd = "<xupdate:modifications version=\"1.0\"xmlns:xupdate=' > > http://www.xmldb.org/xupdate'>" > > > > Now the strange thing is that it doesn't make a new node "commento" after > > node "id", but it makes a new node: > > <temporaryXUpdateTree><commento>Bel > > libro</commento></temporaryXUpdateTree> > > > > at the end of the file. > > Why??? > > Thank for help! > > Bye > > > > > > > > ------------------------------------------------------ > > Leggi GRATIS le tue mail con il telefonino i-modeTM di Wind > > http://i-mode.wind.it/ > > > > > > > ------------------------------------------------------ Leggi GRATIS le tue mail con il telefonino i-mode⢠di Wind http://i-mode.wind.it/