You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@forrest.apache.org by cr...@apache.org on 2002/11/01 03:58:40 UTC
cvs commit: xml-forrest/src/resources/conf sitemap.xmap
crossley 2002/10/31 18:58:40
Modified: src/resources/conf sitemap.xmap
Log:
Handle FAQ in subdirs.
Submitted by: Keiron Liddle <ke...@aftexsw.com>
Revision Changes Path
1.26 +12 -0 xml-forrest/src/resources/conf/sitemap.xmap
Index: sitemap.xmap
===================================================================
RCS file: /home/cvs/xml-forrest/src/resources/conf/sitemap.xmap,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -r1.25 -r1.26
--- sitemap.xmap 30 Oct 2002 15:09:18 -0000 1.25
+++ sitemap.xmap 1 Nov 2002 02:58:40 -0000 1.26
@@ -196,6 +196,18 @@
</map:call>
</map:match>
+ <map:match pattern="body-**/faq.xml">
+ <map:generate type="file-nolabel" src="content/xdocs/{1}/faq.xml"/>
+ <map:transform src="library/xslt/faq2document.xsl" label="content"/>
+ <map:call resource="skinit">
+ <map:parameter name="type" value="document2html"/>
+ <map:parameter name="resource" value="faq"/>
+ <map:parameter name="dir" value=""/>
+ <map:parameter name="isfaq" value="true"/>
+
+ </map:call>
+ </map:match>
+
<map:match pattern="body-faq.xml">
<map:generate type="file-nolabel" src="content/xdocs/faq.xml"/>
<map:transform src="library/xslt/faq2document.xsl" label="content"/>