cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vadim Gritsenko" <vadim.gritse...@verizon.net>
Subject RE: Question: How to get Data from XML-Source into sitemap-params?
Date Fri, 08 Mar 2002 14:46:59 GMT
> 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: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message