cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sxk...@Cs.Nott.AC.UK
Subject New Users Tip
Date Thu, 10 Jan 2002 13:03:28 GMT
I came across something useful today that new users of C2 maybe
interested in:

In the sitemap define the following pipeline
   <map:match pattern="*.*">
    <map:generate src="folder/{1}.xml"/>
    <map:transform src="folder/{2}.xsl"/>
    <map:serialize type="html"/>

This will allow you to type in what ever XML file you want to be
processed by what ever XSL file you want. 

Eg: http://localhost:8080/

This will apply green.xsl to fred.xsl 

Bobby Koya

Please check that your question has not already been answered in the
FAQ before posting. <>

To unsubscribe, e-mail: <>
For additional commands, e-mail: <>

View raw message