Christian Zoffoli wrote:

> but I can't do more complex queries:
> ...
> <map:generate type="xmldb" src="/beta//author[text()='Chris']"/>
> 
> 
> Could you give me some suggestions ? 


Don't use the XMLDB Generators, they will be deprecated and removed in 
favor of the much more flexible and useful XMLDB pseudo-protocol, which 
is available in CVS and which, BTW, supports XPath Queries via an 
xpointer-like syntax. This means that your sitemap code would become 
something like:

<map:generate src="xmldb:xindice:///beta/#/author[text()='Chris']"/>

HTH,

-- 
Gianugo



---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

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

Reply via email to