You are viewing a plain text version of this content. The canonical link for it is here.
Posted to svn@forrest.apache.org by cr...@apache.org on 2004/10/03 10:07:34 UTC

svn commit: rev 51826 - forrest/trunk/src/documentation/content/xdocs

Author: crossley
Date: Sun Oct  3 01:07:33 2004
New Revision: 51826

Modified:
   forrest/trunk/src/documentation/content/xdocs/faq.xml
Log:
Update "docbook" FAQ to use {project:content.xdocs} syntax.


Modified: forrest/trunk/src/documentation/content/xdocs/faq.xml
==============================================================================
--- forrest/trunk/src/documentation/content/xdocs/faq.xml	(original)
+++ forrest/trunk/src/documentation/content/xdocs/faq.xml	Sun Oct  3 01:07:33 2004
@@ -599,15 +599,19 @@
          DocBook documents are matched. The rest of the documents will be
          handled by Forrest core. Powerful regex capabilities are available.
         </p>
-        <source><![CDATA[
-...
-  <map:match pattern="**/resolver-*.html">
-    <map:generate src="content/xdocs/{1}/resolver-{2}.xml"/>
-    <map:transform
-      src="file:///usr/share/sgml/docbook/xsl/xhtml/docbook.xsl"/>
-    <map:serialize/>
-  </map:match>
-...]]>
+        <source><![CDATA[<?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>]]>
         </source>
         <p>
          You can also use a mixture of the two methods, some handled