cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andreas Hartmann <andr...@apache.org>
Subject Re: Using different transformers
Date Fri, 06 Feb 2004 12:09:53 GMT
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: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message