You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by di...@apache.org on 2001/08/20 18:26:00 UTC

cvs commit: xml-cocoon2/xdocs docs-book.xml xmldb-generator.xml

dims        01/08/20 09:26:00

  Modified:    xdocs    docs-book.xml xmldb-generator.xml
  Log:
  Fix docs for xmldb generator.
  
  Revision  Changes    Path
  1.23      +1 -0      xml-cocoon2/xdocs/docs-book.xml
  
  Index: docs-book.xml
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/xdocs/docs-book.xml,v
  retrieving revision 1.22
  retrieving revision 1.23
  diff -u -r1.22 -r1.23
  --- docs-book.xml	2001/08/13 10:39:06	1.22
  +++ docs-book.xml	2001/08/20 16:25:59	1.23
  @@ -30,6 +30,7 @@
     <hidden id="status-generator" label="Status Generator" source="status-generator.xml"/>
     <hidden id="stream-generator" label="Stream Generator" source="stream-generator.xml"/>
     <hidden id="php-generator" label="Php Generator" source="php-generator.xml"/>
  +  <hidden id="xmldb-generator" label="XML:DB Generator" source="xmldb-generator.xml"/>
   
     <!-- The transformers -->
     <page id="transformers" label="Transformers" source="transformers.xml"/>
  
  
  
  1.2       +6 -4      xml-cocoon2/xdocs/xmldb-generator.xml
  
  Index: xmldb-generator.xml
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/xdocs/xmldb-generator.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- xmldb-generator.xml	2001/08/20 16:14:02	1.1
  +++ xmldb-generator.xml	2001/08/20 16:25:59	1.2
  @@ -33,14 +33,16 @@
            (a class name) must be provided, together with a "base" URI. An example
            configuration, based on the stock dbXML implementation, will look like 
            this:
  -         <source>
  -         <![CDATA[
  +      </p>
  +      <source>
  +      <![CDATA[
   <map:generator  name="xmldb"  src="org.apache.cocoon.generation.XMLDBGenerator" label="content">
     <driver>org.dbxml.client.xmldb.DatabaseImpl</driver>
     <base>xmldb:dbxml:///db/</base>
   </map:generator>
  -         ]]>
  -         </source>
  +      ]]>
  +      </source>
  +      <p>
            Note that the content of the "base" tag will be prepended to the 
            requested resource. It's important to keep a trailing slash at the
            end of the <code>base</code> tag.
  
  
  

----------------------------------------------------------------------
In case of troubles, e-mail:     webmaster@xml.apache.org
To unsubscribe, e-mail:          cocoon-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-cvs-help@xml.apache.org