forrest-svn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cross...@apache.org
Subject svn commit: rev 51826 - forrest/trunk/src/documentation/content/xdocs
Date Sun, 03 Oct 2004 08:07:34 GMT
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

Mime
View raw message