> From: ROSSEL Olivier [mailto:[EMAIL PROTECTED]] > > > Is anybody working on a XPath selector or XPath matcher?
These are not possible. Matchers, selectors and actions are processed *before* pipeline starts. They are used to *assemble* pipeline, and invoked when pipeline is not *completed* yet. What you can do is to write Transformer to react on XML, and if you use full-blown XPath, it will be DOMTransformer --> be prepared to buy more memory (it depends on intensity of your site, of course). If you want, you can go through -dev archive, this was discussed multiple times. > > I have situations where I would like to select the pipeline or > > at least the XSLT depending on the value of an attribute within the > > generated XML. > > If there is no such mecanism in Cocoon, you can code your XSLT stylesheets > so they make the test by themselves. That's another option - do the same in XSLT. Vadim --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>