cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ben Pope <benpop...@gmail.com>
Subject Re: accessing flow document from sitemap
Date Wed, 04 May 2005 21:31:08 GMT
Arsen A. Gutsal wrote:
> How can I access flow document within the sitemap?
> Let say I have 
> <generate src="somefile.xml">
> <map:select type="parameter-selector-test">
> <map:when test="{somefile/error}">
> 	<!-- this should be called when somefile.xml has /error tag -->
> </map:when>
> ....
> 
> Is that possible?

It sounds to me like you should be putting your variations into a transformer.

Perhaps this might help:
http://cocoon.apache.org/2.1/userdocs/generators/xpathdirectory-generator.html

Please explain a little more your use-case.

Ben

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


Mime
View raw message