cocoon-users mailing list archives

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

> 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
> 

http://xml.apache.org/cocoon2/flow.html

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

Regards

Michael

---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message