vgritsenko 2003/12/08 06:53:29
Modified: src/blocks/xmldb/samples sitemap.xmap Log: dos2unix Revision Changes Path 1.3 +73 -73 cocoon-2.1/src/blocks/xmldb/samples/sitemap.xmap Index: sitemap.xmap =================================================================== RCS file: /home/cvs/cocoon-2.1/src/blocks/xmldb/samples/sitemap.xmap,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- sitemap.xmap 8 Dec 2003 14:49:00 -0000 1.2 +++ sitemap.xmap 8 Dec 2003 14:53:29 -0000 1.3 @@ -1,73 +1,73 @@ -<?xml version="1.0" encoding="UTF-8"?> - -<map:sitemap xmlns:map="http://apache.org/cocoon/sitemap/1.0"> - -<!-- ========================= Components ================================ --> - - <map:components> - <map:generators default="file"> - <!-- =================== XML:DB Generators ========================= --> - <!-- BEWARE: these are unmaintained XML:DB generators, going to be --> - <!-- removed soon. --> - <!-- You might want to use the XML:DB pseudo protocol instead. --> - <map:generator name="xmldb" src="org.apache.cocoon.generation.XMLDBGenerator" label="content"> - <driver>org.apache.xindice.client.xmldb.DatabaseImpl</driver> - <base>xmldb:xindice-embed:///db/</base> - </map:generator> - <map:generator name="xmldbcollection" src="org.apache.cocoon.generation.XMLDBCollectionGenerator" label="content"> - <driver>org.apache.xindice.client.xmldb.DatabaseImpl</driver> - <base>xmldb:xindice-embed:///db/</base> - </map:generator> - </map:generators> - </map:components> - -<!-- =========================== Views =================================== --> - - <map:views> - <map:view name="content" from-label="content"> - <map:serialize type="xml"/> - </map:view> - - <map:view from-label="content" name="pretty-content"> - <map:transform src="context://stylesheets/system/xml2html.xslt"/> - <map:serialize type="html"/> - </map:view> - - <map:view name="links" from-position="last"> - <map:serialize type="links"/> - </map:view> - </map:views> - -<!-- =========================== Pipelines ================================= --> - - <map:pipelines> - <map:pipeline> - <!-- =================== XML:DB Generators ========================= --> - <!-- BEWARE: the following examples use the unmaintained XML:DB --> - <!-- generators, going to be deprecated soon. --> - <!-- You might want to use the XML:DB pseudo protocol instead. --> - <map:match pattern="xmldb-generator/db/**/"> - <map:generate type="xmldbcollection" src="/{1}"/> - <map:serialize type="xml"/> - </map:match> - <map:match pattern="xmldb-generator/db/**"> - <map:generate type="xmldb" src="/{1}"/> - <map:serialize type="xml"/> - </map:match> - </map:pipeline> - - <map:pipeline> - <!-- ======================= XML:DB ============================== --> - <map:match pattern="**"> - <map:match type="request-parameter" pattern="xpath"> - <map:generate src="xmldb:xindice-embed:///db/{../1}#{1}"/> - <map:serialize type="xml"/> - </map:match> - - <map:generate src="xmldb:xindice-embed:///db/{1}"/> - <map:serialize type="xml"/> - </map:match> - </map:pipeline> - - </map:pipelines> -</map:sitemap> +<?xml version="1.0" encoding="UTF-8"?> + +<map:sitemap xmlns:map="http://apache.org/cocoon/sitemap/1.0"> + +<!-- ========================= Components ================================ --> + + <map:components> + <map:generators default="file"> + <!-- =================== XML:DB Generators ========================= --> + <!-- BEWARE: these are unmaintained XML:DB generators, going to be --> + <!-- removed soon. --> + <!-- You might want to use the XML:DB pseudo protocol instead. --> + <map:generator name="xmldb" src="org.apache.cocoon.generation.XMLDBGenerator" label="content"> + <driver>org.apache.xindice.client.xmldb.DatabaseImpl</driver> + <base>xmldb:xindice-embed:///db/</base> + </map:generator> + <map:generator name="xmldbcollection" src="org.apache.cocoon.generation.XMLDBCollectionGenerator" label="content"> + <driver>org.apache.xindice.client.xmldb.DatabaseImpl</driver> + <base>xmldb:xindice-embed:///db/</base> + </map:generator> + </map:generators> + </map:components> + +<!-- =========================== Views =================================== --> + + <map:views> + <map:view name="content" from-label="content"> + <map:serialize type="xml"/> + </map:view> + + <map:view from-label="content" name="pretty-content"> + <map:transform src="context://stylesheets/system/xml2html.xslt"/> + <map:serialize type="html"/> + </map:view> + + <map:view name="links" from-position="last"> + <map:serialize type="links"/> + </map:view> + </map:views> + +<!-- =========================== Pipelines ================================= --> + + <map:pipelines> + <map:pipeline> + <!-- =================== XML:DB Generators ========================= --> + <!-- BEWARE: the following examples use the unmaintained XML:DB --> + <!-- generators, going to be deprecated soon. --> + <!-- You might want to use the XML:DB pseudo protocol instead. --> + <map:match pattern="xmldb-generator/db/**/"> + <map:generate type="xmldbcollection" src="/{1}"/> + <map:serialize type="xml"/> + </map:match> + <map:match pattern="xmldb-generator/db/**"> + <map:generate type="xmldb" src="/{1}"/> + <map:serialize type="xml"/> + </map:match> + </map:pipeline> + + <map:pipeline> + <!-- ======================= XML:DB ============================== --> + <map:match pattern="**"> + <map:match type="request-parameter" pattern="xpath"> + <map:generate src="xmldb:xindice-embed:///db/{../1}#{1}"/> + <map:serialize type="xml"/> + </map:match> + + <map:generate src="xmldb:xindice-embed:///db/{1}"/> + <map:serialize type="xml"/> + </map:match> + </map:pipeline> + + </map:pipelines> +</map:sitemap>
