My sitemap looks like:

Transformers section:

<map:transformer logger="sitemap.transformer.xmldb" name="xmldb"
  src="org.apache.cocoon.transformation.XMLDBTransformer">
      <base>xmldb:xindice-embed:///db</base>
</map:transformer>

The pipelines section:

<map:match pattern="blockuser">
  <map:generate src="xml/block-user.xml"/>
  <map:transform type="xmldb"/>
  <map:serialize type="xml"/>
</map:match>

Thanks again...

Rui



On Wed, 2004-06-23 at 17:27, Robert wrote:
> Rui Alberto L. GonÃalves wrote:
> > Hi,
> > sorry if this is a simple question, but I'm starting
> > using this...
> > 
> > What I'm trying to do is update a document in the xml
> > database using XMLDBTransformer. The document that is passed 
> > to the transformer
> > is:
> > 
> > <x:query type="update" collection="users/" 
> >          oid="myresource" xmlns:x="http://apache.org/cocoon/xmldb/1.0";>
> >     <xu:modifications version="1.0"
> >                       xmlns:xu="http://www.xmldb.org/xupdate";>
> >       <xu:append select="/[EMAIL PROTECTED]'sa']" >
> >         <xu:attribute name="blocked">true</xu:attribute>
> >       </xu:append>
> >     </xu:modifications>
> > </x:query>
> > 
> > The transformer always returns:
> > 
> > <x:query oid="myresource" type="update" result="failure">Failed to
> > update resource somedata: 1</x:query>
> > 
> > Trying to perform  different updates results in the same error!
> > I'm sending in attach the exception stack trace.
> > 
> > Thanks for any help... I can't figure out what's wrong!!
> > 
> > Rui
> > 
> 
> what is the sitemap looks like?
> 
> Robert
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
-- 
Rui Alberto L. GonÃalves <[EMAIL PROTECTED]>
PT InovaÃÃo


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to