<?oxygen RNGSchema="../../resources/schemas/paloose-sitemap-1.3.4.rng" type="xml"?>
<?oxygen SCHSchema="../../resources/schemas/paloose-sitemap-1.3.4.rng"?>
<!-- -*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
--> <!-- -*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
--> <!--
Subsitemap for Aggregation Example
Author:
Name : Hugh Field-Richards.
Email : hsfr@hsfr.org.uk
-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
Date Who Changes
==========================================================================
24th July 2006 HSFR Created
23rd August 2006 HSFR Changed root page name
LICENSE:
This software is free software; you can redistribute it
and/or modify it under the terms of the GNU Lesser General
Public License as published by the Free Software Foundation;
either version 2.1 of the License, or (at your option) any
later version.
This software is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this software; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
--> <map:sitemap __file="ad4c041a135d7ba20e9760cb9b900a0f" __status="-1">......</map:sitemap> <map:sitemap __file="ad4c041a135d7ba20e9760cb9b900a0f" __status="-1" xmlns:map="http://apache.org/cocoon/sitemap/1.0">
<!-- -*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
-->
<!-- -*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* COMPONENTS -*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
-->
<!-- -*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
-->
<map:components>
<map:generators default="file"/>
<map:transformers default="xslt"/>
<map:serializers default="xml"/>
<map:matchers default="wildcard"/>
</map:components>
<!-- -*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
-->
<!-- -*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*- RESOURCES -*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
-->
<!-- -*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
-->
<map:resources>
<map:resource name="outputPage">
<map:transform src="context://resources/transforms/page2xhtml.xsl" label="page-transform">......</map:transform> <map:transform src="context://resources/transforms/page2xhtml.xsl" label="page-transform">
<map:parameter name="page" value="{1}"/>
</map:transform>
<map:transform type="scss" label="scss-content"/>
<map:serialize type="xhtml"/>
</map:resource>
<map:resource name="outputXML">
<map:transform src="context://resources/transforms/xml2xhtml.xsl"/>
<map:transform type="scss" label="scss-content"/>
<map:serialize type="xhtml"/>
</map:resource>
</map:resources>
<!-- -*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
-->
<!-- -*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*- VIEWS -*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
-->
<!-- -*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
-->
<map:views>
<map:view name="aggr" from-label="aggr-content">......</map:view> <map:view name="aggr" from-label="aggr-content">
<map:call resource="outputXML"/>
</map:view>
<map:view name="transform" from-label="page-transform">......</map:view> <map:view name="transform" from-label="page-transform">
<map:call resource="outputXML"/>
</map:view>
<map:view name="xml" from-label="xml-content">......</map:view> <map:view name="xml" from-label="xml-content">
<map:call resource="outputXML"/>
</map:view>
</map:views>
<!-- -*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
-->
<!-- -*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*- PIPELINES -*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
-->
<!-- -*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
-->
<map:pipelines>
<map:pipeline>
<map:match pattern="sitemap-raw.html">......</map:match> <map:match pattern="sitemap-raw.html">
<map:generate src="cocoon:/sitemap.xmap"/>
<map:call resource="outputXML"/>
</map:match>
<map:match pattern="aggrAll-raw.html">......</map:match> <map:match pattern="aggrAll-raw.html">
<map:aggregate element="root" label="aggr-content">......</map:aggregate> <map:aggregate element="root" label="aggr-content">
<map:part src="cocoon:/aggr-1.xml" element="aggr-1" strip-root="true"/>
<map:part src="cocoon:/aggr-2.xml" element="aggr-2"/>
<map:part src="cocoon:/aggr-3.xml" element="aggr-3" strip-root="true"/>
</map:aggregate>
<map:call resource="outputXML"/>
</map:match>
<map:match pattern="**-raw.html">......</map:match> <map:match pattern="**-raw.html">
<map:generate src="cocoon:/{1}.xml" label="xml-content"/>
<map:call resource="outputXML"/>
</map:match>
<!-- Catch remaining requests
-->
<map:match pattern="*.html">......</map:match> <map:match pattern="*.html">
<map:aggregate element="root" label="aggr-content">......</map:aggregate> <map:aggregate element="root" label="aggr-content">
<map:part src="context://content/menus.xml" element="menus" strip-root="true"/>
<map:part src="context://content/breadcrumbs.xml" element="breadcrumbs" strip-root="true"/>
<map:part src="cocoon:/{1}.xml" element="content" strip-root="true"/>
</map:aggregate>
<map:call resource="outputPage"/>
</map:match>
</map:pipeline>
<!-- -*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
-->
<!-- -*-*-*-*-*-*-*-*-*-*-*-*-*-*- INTERNAL PAGE ACCESS *-*-*-*-*-*-*-*-*-*-*-*-*
-->
<!-- -*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
-->
<map:pipeline internal-only="true">
<!-- Match all other XML requests
-->
<map:match pattern="*.xml">......</map:match> <map:match pattern="*.xml">
<map:generate src="cocoon:/{1}.xml"/>
<map:serialize/>
</map:match>
</map:pipeline>
</map:pipelines>
</map:sitemap>