You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Andre Juffer <aj...@sun3.oulu.fi> on 2005/05/25 20:41:14 UTC

XMLDBTransformer xupdate

Hi All,

I have some trouble in using the XMLDBTransformer of cocoon. I have the 
following fragment, which apparently caused an error:

<db:query oid="1116972491128" type="update" result="failure">Failed to 
update resource 1116972491128: 1</db:query>

The database is Xindice (version 1.1.*). The fragment (on the fly 
generated with XSL) which causes the error is the following:

<db:query collection="sopas/news" type="update" oid="1116972491128">
  <xu:modifications>
   <xu:update select="/news[@id='1116972491128']/status">old</xu:update>
  </xu:modifications>
</db:query>

Do you see any error in this portion?

Note that the news item does exist. I can easily check this from the 
command line. The collection in the database is under /db/sopas/news.

Thanks,

-- 
Andre H. Juffer              | Phone: +358-8-553 1161
The Biocenter and            | Fax: +358-8-553-1141
     the Dep. of Biochemistry | Email: Andre.Juffer@oulu.fi
University of Oulu, Finland  | WWW: 
www.biochem.oulu.fi/Biocomputing/index.html

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org