You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Vadim Gritsenko <va...@verizon.net> on 2002/03/08 15:46:59 UTC

RE: Question: How to get Data from XML-Source into sitemap-params?

> From: Axel Honfi [mailto:e9626377@student.tuwien.ac.at]
> 
> Hello!
> 
> I query an XIndice DB from Cocoon and get the search-results as an
> XML-Document.
> 
> The result is an filled or empty xml-file with the root-element
> 
> <collection:results query="/user[username='xy'][password='xy']"
> 		resources="0"
> xmlns:collection="http://apache.org/cocoon/xmldb/1.0"/>
> 
> To start a session I need to distinguish if the value of result is 0
or 1.
> 
> So how can I get this value from the SAX-Events in the pipeline into
> sitemap-params?

This is not possible. Sitemap at the moment of pipeline execution is not
used anymore. Write action or custom transformer.

Vadim

> 
> Thanks in advance
> 
> Axel
> 


---------------------------------------------------------------------
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: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>