Author: rgardler
Date: Fri Jun  8 04:50:37 2007
New Revision: 545486

URL: http://svn.apache.org/viewvc?view=rev&rev=545486
Log:
Add XInclude (thanks to Sturat Yeates, FOR-1003)

Modified:
    
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.tei/input.xmap
    
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.tei/status.xml

Modified: 
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.tei/input.xmap
URL: 
http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.tei/input.xmap?view=diff&rev=545486&r1=545485&r2=545486
==============================================================================
--- 
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.tei/input.xmap 
(original)
+++ 
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.tei/input.xmap 
Fri Jun  8 04:50:37 2007
@@ -34,6 +34,9 @@
     <map:selectors default="parameter">
         <map:selector logger="sitemap.selector.parameter" name="parameter" 
src="org.apache.cocoon.selection.ParameterSelector" />
     </map:selectors>
+    <map:transformers default="xslt">   
+        <map:transformer name="xinclude" 
src="org.apache.cocoon.transformation.XIncludeTransformer" 
logger="sitemap.transformer.xinclude" pool-grow="2" pool-max="16" pool-min="2" 
/>
+    </map:transformers>
   </map:components>
 
   <map:resources>    
@@ -44,6 +47,7 @@
 
           <map:when test="TEI-2">
             <map:generate src="{lm:project.{../../1}.xml}" />
+               <map:transform type="xinclude"/>
             <map:transform src="{lm:tei.transform.tei.document}" />
             <map:serialize type="xml-document"/>
           </map:when>
@@ -55,6 +59,7 @@
 
           <map:when test="TEI-2">
             <map:generate src="{lm:project.{../../1}.xml}" />
+               <map:transform type="xinclude"/>
             <map:transform src="{lm:tei.transform.tei.document}" />
             <map:serialize type="xml-document"/>
           </map:when>

Modified: 
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.tei/status.xml
URL: 
http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.tei/status.xml?view=diff&rev=545486&r1=545485&r2=545486
==============================================================================
--- 
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.tei/status.xml 
(original)
+++ 
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.tei/status.xml 
Fri Jun  8 04:50:37 2007
@@ -38,6 +38,10 @@
   <changes>
     <!-- Add new releases here -->
     <release version="0.1" date="not-released">
+      <action dev="RDG" type="add" context="code" importance="low" 
+        due-to="Stuart Yeates" fixes-bug="FOR-1003">
+        Added xinclude functionality.
+      </action>
       <action dev="RDG" type="add" context="admin">
         Initial plugin code.
       </action>