Re: Xupdate not work! Please help me!
Vadim Gritsenko <[email protected]> Wed, 25 Apr 2007 15:55:15 -0400
| Newsgroups | gmane.text.xml.xindice.user |
|---|---|
| Message-ID | <[email protected]> |
[email protected] wrote: > and the new error, always from command line is: > > trying to register database > org.xmldb.api.base.XMLDBException: org.apache.xmlrpc.XmlRpcException: Error Compiling XUpdateQuery ... > Another idea? > >>> String xupd = "<xupdate:modifications version=\"1.0\"" + >>> "xmlns:xupdate=http://www.xmldb.org/xupdate>" + Michele, Attribute values in XML must be in single or double quotes. So above line should be: "xmlns:xupdate='http://www.xmldb.org/xupdate'>" + Vadim >>> "<xupdate:insert-after select=\"/scheda/info/id[value='1']\">" + >>> "<xupdate:element name=\"commento\">Bel libro!</xupdate:element>" + >>> "</xupdate:insert-after>" + >>> "</xupdate:modifications>";