cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Palol Carlos <carlos.palol.lis...@gmail.com>
Subject [2.1] Generator src from document content
Date Fri, 14 Nov 2008 03:26:10 GMT
Hi list,

I'm trying to query a Daisy 2.2 repository from a Lenya 2 website  
(Cocoon 2.1)

So i have XML documents like this:

<mydoc>
   <query>
     SELECT name WHERE InCollection('xyz')
   </query>
</mydoc>

And would like to query that repository through HTTP API, like this:

http://user:user@mydaisyserver.com/repositoryquery?q=SELECT+name+WHERE  
InCollection%28%27xyz%27%29
which returns an XML result.

What i would like to do (in the pipeline) is:

1. Read de XML "query" text node.
2. Escape the string, create de full url in an action, XSLT or else.
3. Generate (file generator) using the full url.
4. Transform, etc

I can't find a simple way to take content to de sitemap. Is it  
necessary to use an action and access the document from it?

Thanks in advance for any suggestion,

--
Carlos Palol








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


Mime
View raw message