Thank you Vadim.
I had done like you tell me. The error now (always at command line) is:
trying to register database
org.xmldb.api.base.XMLDBException: org.apache.xmlrpc.XmlRpcException: Error
Compiling XUpdate Query
at
org.apache.xindice.client.xmldb.xmlrpc.CollectionImpl.runRemoteCommand(CollectionImpl.java:119)
at
org.apache.xindice.client.xmldb.xmlrpc.CollectionImpl.query(CollectionImpl.java:515)
at
org.apache.xindice.client.xmldb.services.QueryService.queryResource(QueryService.java:70)
at
org.apache.xindice.client.xmldb.services.XUpdateQueryServiceImpl.updateResource(XUpdateQueryServiceImpl.java:89)
at PartsXupdate.main(PartsXupdate.java:28)
XML:DB Exception occurred 1
Sigh! I want use xindice!!!!!
And now?
Thank for help!
Bye
---------- Initial Header -----------
>From : "Vadim Gritsenko" [EMAIL PROTECTED]
To : [email protected]
Cc :
Date : Wed, 25 Apr 2007 15:55:15 -0400
Subject : Re: Xupdate not work! Please help me!
> [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>";
>
>
------------------------------------------------------
Leggi GRATIS le tue mail con il telefonino i-modeĀ di Wind
http://i-mode.wind.it/