Hi,
I can't seem to get the example XIncludeTransformer to work. Here is my
sitemap snippet...
<map:match pattern="testxinclude">
<map:generate src="xinc/simple-xinc.xml"/>
<map:transform type="xinclude"/>
<map:serialize type="xml"/>
</map:match>
here is contents of simple-xinc.xml (yes it is in the ../coocoon/xinc
directory :) )
<?xml version="1.0"?>
<page xmlns:xi="http://www.w3c.org/2001/XInclude">
<title>Hello</title>
<content>
<para>This is my first Cocoon page!</para>
<xi:include href="xinc/include.xml"/>
</content>
</page>
and here is the contents of include.xml (also from the xinc directory)
<?xml version="1.0"?>
<p>
I am <strong>included</strong> by XIncludeTransformer.
I come from "include.xml".
</p>
and my browser always returns!
<?xml version="1.0" encoding="UTF-8"?>
<page xmlns:xi="http://www.w3c.org/2001/XInclude">
<title>Hello</title>
<content>
<para>This is my first Cocoon page!</para>
<xi:include href="xinc/include.xml"/>
</content>
</page>
Anyone see anything obvious?
-Mitch
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>