cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sebastien Arbogast <sebastien.arbog...@gmail.com>
Subject Re: [PlanetCocoon] 4 new ideas to discuss on Planet Cocoon
Date Mon, 23 May 2005 18:51:50 GMT
> 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"/>
> 
>    <n:explain>
>      And let <a href="http://xml.apache.org/fop">FOP</a> generate PDF
>    </n:explain>
>    <map:serialize type="fo2pdf"/>
> </map:match>
> 
> This could be very useful to create self-describing samples.

This is definitely interesting.

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

We'll study that very carefully because we began to talk about this
documentation-code integration feature and it seems to be a tricky
thing. So any other trial to get to that kind of thing would help up
to start.
Thx for that.

-- 
Sebastien ARBOGAST

Mime
View raw message