Hi, I was hoping one of you could answer this for me. I've just started using Xindice 1.1b3 and I've got a problem using xupdate.
I'm trying to do the following update: <xu:modifications version="1.0" xmlns:xu="http://www.xmldb.org/xupdate"> <xu:update select="/page/paragraph[1]"><text>Test</text></xu:update> </xu:modifications> On the following document: <?xml version="1.0"?> <page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="C:\java\brassen\schematestingpubeditor\book.x sd"> <paragraph> <text>Test</text> <text>Foo2</text> <text>Bar</text> <text>Bar2</text> </paragraph> <paragraph> <text>Test2</text> <text>Testing</text> </paragraph> </page> I was hoping to replace the contents of paragraph all together with one text element, but I get the following error. org.xmldb.api.base.XMLDBException: :Error Compiling XUpdate Query at org.apache.xindice.client.xmldb.xmlrpc.CollectionImpl.runRemoteComman d(CollectionImpl.java:201) at org.apache.xindice.client.xmldb.xmlrpc.CollectionImpl.query(Collectio nImpl.java:592) at org.apache.xindice.client.xmldb.services.QueryService.queryResource(Q ueryService.java:111) at org.apache.xindice.client.xmldb.services.XUpdateQueryServiceImpl.upda teResource(XUpdateQueryServiceImpl.java:131) at org.apache.xindice.tools.command.XUpdate.execute(XUpdate.java:139) at org.apache.xindice.tools.XMLTools.execute(XMLTools.java:336) at org.apache.xindice.tools.XMLTools.process(XMLTools.java:213) at org.apache.xindice.tools.XMLTools.main(XMLTools.java:124) ERROR : :Error Compiling XUpdate Query What could be wrong? Regards, Wouter
