Nicolas Rod wrote:
Hi all,

I'd like to know if there is a possibility to access the XML flow content in a custom Selector. The goal would to test the presence or not of a special tag (an 'xinclude') in the XML flow generated above in a pipeline.

Is there a way to access the flow content in the Selector, in order to make a XPATH query for instance ?

yes, use the method getContextObject of the org.apache.cocoon.components.flow.FlowHelper


--
Reinhard P�tz Independant Consultant, Trainer & (IT)-Coach


{Software Engineering, Open Source, Web Applications, Apache Cocoon}

                                       web(log): http://www.poetz.cc
--------------------------------------------------------------------

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



Reply via email to