forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Crossley <cross...@apache.org>
Subject Re: map:transform to docbook xsl
Date Sun, 03 Oct 2004 07:39:37 GMT
I cannot see what is wrong with your setup Sean.
It looks okay. Anyway it works for me ...

Added a file to a forrest seed site.
xdocs/resolver-article.xml

Added an entry to site.xml

Used the following sitemap.xmap ...

<?xml version="1.0"?>
<map:sitemap xmlns:map="http://apache.org/cocoon/sitemap/1.0">
 <map:pipelines>
  <map:pipeline>
    <map:match pattern="**/resolver-*.html">
      <map:generate src="{project:content.xdocs}{1}/resolver-{2}.xml"/>
      <map:transform
          src="file:///usr/share/sgml/docbook/xsl/xhtml/docbook.xsl"/>
      <map:serialize/>
   </map:match>
  </map:pipeline>
 </map:pipelines>
</map:sitemap>

-- 
David Crossley


Mime
View raw message