Re: [Xsltforms-support] how could resolve this error
Brought to you by:
alain-couthures
From: Efraim F. <efr...@gm...> - 2011-02-03 14:59:40
|
Hi, On 02/03/2011 09:16 AM, srinivasan krishnamoorthy wrote: > when i am trying to update values in existdb i face following error.... > > <exception> > <path>//db/vserve/main/test.xq</path> > <message> > XQuery update expressions can not be applied to in-memory nodes. > </message> > </exception> When you load a document through eXist's REST interface, it's loaded as an in-memory node, and, as the error says, you can only do XQuery updates to database nodes. Instead of: doc('http://localhost:8080/exist/rest/db/vserve/data/clients/1000012011.xml') try: doc('/db/vserve/data/clients/1000012011.xml') PS This isn't so much an XSLTForms question as it is an eXist question. A more appropriate forum might be the exist-open list. -- --- Efraim Feinstein Lead Developer Open Siddur Project http://opensiddur.net http://wiki.jewishliturgy.org |