cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Geert Josten <Geert.Jos...@daidalos.nl>
Subject Re: XSL File I/O
Date Fri, 18 Feb 2005 21:27:35 GMT
> 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: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message