hi,
have included the <map:transform type="xinclude"/> in the pipeline of 
your sitemap?

something like that:
      <map:match pattern="simple-xinc.xml">
        <map:generate src="simple-xinc.xml"/>
        <map:label name="content"/>
        <map:transform type="xinclude"/> <!-- aktivate the xinlude 
transfomer!! ->

        <map:transform type="i18n"/>
        <map:transform src="simple.xsl"/>
        <map:serialize/>
      </map:match>


Stephan Michels wrote:

>Hi,
>has anyone a working example for the xinclude transformer. My example
>doesnt'work:
>
>I want to include another xml file from my fs.
><mediablock>
> <title>Abbildung: Beispieltitel</title>
>  <media xmlns:xi="http://www.w3.org/2001/XInclude";>
>   <xi:include href="/vern/public/music.third"/>
>   <parameter name="bla" value="blah"/>
>  </media>
>  <description>
>  <block>
>   Erläuterner Text:
>  </block>
>  <block>
>   bla bla bla bla bla bla bla bla bla
>  </block>
> </description>
></mediablock>
>
>output:
><mediablock>
> <title>Abbildung: Beispieltitel</title>
>  <media xmlns:xi="http://www.w3.org/2001/XInclude";
>-----Here the output stopps-----------
>
>I couldn't find an error in the log files.
>
>I have also a question, must I use "file://"?
>
>Thanx, Stephan Michels.
>
>
>---------------------------------------------------------------------
>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]>
>
>



---------------------------------------------------------------------
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]>

Reply via email to