cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefano Mazzocchi <stef...@apache.org>
Subject Re: Ignore "annotations" namespace in sitemap?
Date Fri, 05 Dec 2003 20:29:04 GMT

On 5 Dec 2003, at 06:43, Bertrand Delacretaz wrote:

> We talked about this at the GT and today again on irc, the goal is to 
> allow structured comments in sitemaps, for example:
>
> <map:sitemap
>         xmlns:map="http://apache.org/cocoon/sitemap/1.0"
>         xmlns:note="http://apache.org/cocoon/sitemap/annotations/1.0"
> >
>
>  <note:revision date="2003-12-05" author="bd">annotations added to 
> sitemap today</note:revision>
>
>  <map:match pattern="">
>      <note:comment>no filename, generate list of samples</note:comment>
>      <map:generate src="foo.xml"/>
>     ...
>    </map:match>
>
> etc..
>
> The TreeProcessor would ignore everything in the annotations namespace 
> (Sylvain suggests adding a filtering XMLPipe just after the parser 
> that reads the sitemap file).
>
> Suggested namespace is http://apache.org/cocoon/sitemap/annotations/1.0

+1

--
Stefano.

Mime
View raw message