cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Bierenfeld <>
Subject Re: Wanted - C2 Idiots Guide to deploying XML/XSL/XSP files
Date Thu, 20 Sep 2001 15:15:10 GMT

> The thing is you have to group your pages you'd like to process by a single XSLT
> stylesheet. To achieve what you call "code the page and test it" use this simple
> sitemap snippet:
>    <map:match pattern="mygroup/*.html">
>      <map:generate type="file" src="mydir/{1}.xml"/>
>      <map:transform type="xslt" src="stylesheet/mygroup2html.xsl"/>
>      <map:serialize type="html"/>
>    </map:match>
> With this snipped a file "anyfile.xml" put into the mydir directory will be
> accessable by the url "mygroup/anyfile.html" and will by transformed by the
> stylesheet in stylesheet/mygroup2html.xsl.
> Hope this helps.
> Giacomo

helped me a lot understanding this tuff. anyway I am not fully brightend
but on the learning curve



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