cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Flynn <pfl...@imbolc.ucc.ie>
Subject Re: Serving static XML files a la Cocoon-1
Date Thu, 25 Apr 2002 14:56:52 GMT
> Of course you don't have to put an entry for each new doc : 

That is not at all obvious from the doc.

> you simpl=
> y=20
> need the most common C2 pipeline:
> 
> <map:match pattern=3D"**.xml">
>   <map:generate src=3D"{1}.xml"/>
>   <map:generate src=3D"stylesheet.xsl"/>
>   <map:serialize/>
> </map:match>
> 
> This pipeline will process all the .xml files on your server. Does it=
> =20
> match your needs?

Very close, except that all the XML files already identify their
stylesheet in an xml-stylesheet PI, so Cocoon would need to honor
this.

///Peter

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