cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bertrand Delacretaz <bdelacre...@apache.org>
Subject Ignore "annotations" namespace in sitemap?
Date Fri, 05 Dec 2003 14:43:51 GMT
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

WDYaT?

-Bertrand


Mime
View raw message