Author: crossley
Date: Wed Sep 7 21:16:14 2005
New Revision: 279506
URL: http://svn.apache.org/viewcvs?rev=279506&view=rev
Log:
Show an example of RELAX NG validation.
Modified:
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.xhtml2/structurer.xmap
Modified:
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.xhtml2/structurer.xmap
URL:
http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.xhtml2/structurer.xmap?rev=279506&r1=279505&r2=279506&view=diff
==============================================================================
---
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.xhtml2/structurer.xmap
(original)
+++
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.xhtml2/structurer.xmap
Wed Sep 7 21:16:14 2005
@@ -232,6 +232,11 @@
<map:match pattern="*.html">
<!-- FIXME: make the cocoon: protocol work here cocoon://{1}.xml -->
<map:generate src="{project:content.xdocs}/{1}.xml"/>
+ <!-- This is an example of RELAX NG validation.
+ Such transformers can go anywhere in the sitemap. -->
+ <!--
+ <map:transform type="jing"
src="{forrest:context}/resources/schema/relaxng/WD-xhtml2-20050527/xhtml2-forrest.rng"
/>
+ -->
<map:transform src="cocoon://getStylesheet.xhtml.{1}">
<map:parameter name="path" value="{0}"/>
</map:transform>