cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Geoff Howard <coc...@leverageweb.com>
Subject Re: map:redirecto-to after map:transform/map:generate?
Date Tue, 03 Jun 2003 14:43:26 GMT
At 10:31 AM 6/3/2003, you wrote:
>Andreas Hartmann wrote:
>
>>Peter Klotz wrote:
>>
>>>So how can one read a file from the filesystem after a transformation?
>>
>>You can write a transformer / serializer that reads a file and
>>generates the appropriate SAX events. I don't know if such a
>>component already exists.
>
>Maybe you could use a stylesheet and the document function:
>
><xsl:param name="source"/>
>
><xsl:template match="/">
>   <xsl:copy-of select="document($source)/*"/>
></xsl:template>
>
>I think that should work.

It may, but I'd not recommend it.

Geoff


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-users-help@xml.apache.org


Mime
View raw message