Hello everbody,

i've got a XUpdate-Statement, which is excuteded by Xindice two times on
the same Node. I think it should only be executed one time. 

The Statement:
String xupdate = "<xupdate:modifications version=\"1.0\"
xmlns:xupdate=\"http://www.xmldb.org/xupdate\";>" +
  "<xupdate:variable name=\"state\"
   select=\"/song[length='279']/artist\"/>" +
      "<xupdate:insert-after select=\"/song[length='279']/title\">" +
           "<xupdate:value-of select=\"$state\"/>" +
      "</xupdate:insert-after>" +
  "</xupdate:modifications> "

I know this statement doesn't make any sense. it is just for testing...

XML-Document before XUpdate has only one artist and one title. After
execution Node has one artist, one title, and another two
artist-elements after the title-element.

Can you help? I've no idea. :-(

Cheers

Thomas

-- 
There exist 10 kinds of people. Those who speak binary and those who don't.

-- 
GnuPG-signed and encrypted mail preferred
<[EMAIL PROTECTED]> -- GnuPG-Key-ID: 0x99E9A691

Reply via email to