cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bertrand Delacretaz <>
Subject Re: [PlanetCocoon] 4 new ideas to discuss on Planet Cocoon
Date Mon, 23 May 2005 18:44:06 GMT
Le 23 mai 05, à 20:33, Sebastien Arbogast a écrit :
> ...finally it appears
> it's not as interesting as I thought at the beginning because current
> samples are code only whereas we think code-illustrated documentation
> is what we need most...

Sure. Note that I just applied a patch to both the 2.1 branch and the 
trunk, which allows you to add annotation to sitemaps, like:

<map:match pattern="news.pdf">
   <n:explain>Get news in XML from server</n:explain>
   <map:generate src="http://newsserver/somestuff.xml"/>

   <n:explain>Convert to xsl-fo</n:explain>
   <map:transform src="news-to-fo.xsl"/>

     And let <a href="">FOP</a> generate PDF
   <map:serialize type="fo2pdf"/>

This could be very useful to create self-describing samples.

There's also stuff in the tour block that could be reused to extract 
code excerpts from sitemaps, xml and text files.

View raw message