Polymorphic wrote:

Hi all,

I am a new user of Cocoon and planning to migrate a couple of sites. I
read the book "Cocoon Developers handbook", look through the wiki and
mailing list archives but was unable to find a solution to what I am
attempting - sorry if it's something that I have missed.

I would like to have a pipeline use different xsl transformers depending
on the xml document that is requested. I would prefer not to do this by
URI match, or anything visible to the end user, but only depending on how
the xml document is structured. The reason is this - I will have several
different xml documents containing the content, which in turn means that I
need different xslt documents for them. A URI match solution would works,
but is not really elegant.

Forrest's sourcetype action could help you to setup the pipeline according to the generated XML:

http://xml.apache.org/forrest/cap.html

-- Andreas


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



Reply via email to