cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andreas Hartmann <andr...@apache.org>
Subject Re: map:redirecto-to after map:transform/map:generate?
Date Tue, 03 Jun 2003 14:31:12 GMT
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.

Andreas



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