RELAX NG Schema for Paloose Sitemaps
Author: Hugh Field-Richards
Date: 2011-08-03T12:15

This is the RELAX NG schema for the Paloose sitemaps. They are very similar to Cocoon sitemaps, but with enough differences to make it worth formalising separately. Any bug reports, help, suggestions, new task schemas etc to me, Hugh Field-Richards (hsfr@hsfr.org.uk).

The documentation is designed to be processed by the rng2xhtml.xsl pretty-printing processor available from the author together with the SCSS style files.

Schematron
Declare schematron namespace : map = http://apache.org/cocoon/sitemap/1.0

Sitemap Root

Schema Root
start
refmap.sitemap
<start>
   <ref name="map.sitemap"/>
</start>

Sitemap Structure

The Paloose site has a similar structure to the Cocoon one, just less of it.

define : map.sitemap
element : map:sitemap
refmap.components
interleave
refmap.resources
refmap.views
refmap.flows
refmap.pipelines
<define name="map.sitemap">
   <element name="map:sitemap">
      <ref name="map.components"/>
      <interleave>
         <ref name="map.resources"/>
         <ref name="map.views"/>
         <ref name="map.flows"/>
      </interleave>
      <ref name="map.pipelines"/>
   </element>
</define>

Included file: paloose-sitemap-components.rng

Included file: paloose-sitemap-pipelines.rng

Included file: paloose-sitemap-generators.rng

Included file: paloose-sitemap-transformers.rng

Included file: paloose-sitemap-serialisers.rng

Included file: paloose-sitemap-actions.rng

Included file: paloose-sitemap-matchers.rng

Included file: paloose-sitemap-resources.rng

Included file: paloose-sitemap-selectors.rng

Copyright

Copyright (c) 2006 – 2009 Hugh Field-Richards

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program 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 General Public License for more details.

For a copy of the GNU General Public License write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.