My stylesheet (checkImage.xsl):
<xsl:stylesheet ...>
        blah blah to get the node
   <xi:include src="cocoon:/get-images{.}"
xmlns:xi="http://www.w3.org/2001/XInclude"; parse="xml" />

My sitemap:
       <map:match pattern="test.xsl">
         <map:generate src="test.xml" type="file"/>
         <map:transform src="checkImage.xsl" type="xslt-saxon"/>
         <map:transform type="xinclude"/>
        <map:serialize type="xml"/>
       </map:match>

Oh, the xinclude like this will probably not work (depending on what result you actually want). I think you want to apply it on the XSL itself, not on its result. If you apply it on the XSL, you can place the xi:include inside an xsl:attribute command, otherwise not...


Cheers,
Geert

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to