cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Cédric Damioli <>
Subject Re: Serving static XML files a la Cocoon-1
Date Mon, 22 Apr 2002 13:36:44 GMT

Peter Flynn wrote:

>Vadim writes:
>>>contain the <?cocoon-process type="xslt"?> Processing Instruction.
>>This instruction is not working anymore.
>>>The "documentation" does not mention this method of working. Has it
>>>been scrapped?
>Would be nice if there was a doc for Cocoon-1 users which explained this.
>>Read concept docs and sitemap docs on Cocoon site. Sitemap is the only
>>way to tell Cocoon what it needs to do. You should spend some time to
>>get it - once you get it, chances are, you will love it.
>You must be kidding. Every time a user wants to put a new doc on the
>server, the administrator has to manually add an entry to the sitemap?
>This is the height of lunacy, and a surefire way to kill Cocoon stone dead.
That's what Vadim said... read concept & sitemap docs, and you'll love it...

>Requirement: an XML/XSL[T] server that simply recognises .xml, 
>performs the relevant conversion, and ships out the result. Cocoon-1
>did this fine: why break a perfectly good piece of software?
Of course you don't have to put an entry for each new doc : you simply 
need the most common C2 pipeline:

<map:match pattern="**.xml">
  <map:generate src="{1}.xml"/>
  <map:generate src="stylesheet.xsl"/>

This pipeline will process all the .xml files on your server. Does it 
match your needs?


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