cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sylvain Wallez <>
Subject Re: the "evil" document() function
Date Mon, 19 Mar 2001 13:22:18 GMT

Tagunov Anthony a écrit :
> Unfortunantly looks quite difficult: to make the Cocoon caching system work
> okay the XSLT processor should somehow let _Cocoon_ know what
> files it has included with document() function... Can't ivent any way
> to pass this knowledge from XSLT procssor to Cocoon... :-(

Trax provides the javax.xml.transform.URIResolver interface "that can be
called by the processor to turn a URI used in document(), xsl:import, or
xsl:include into a Source object" (copy-paste from Xalan's javadoc).

Isn't just what's needed to notify Cocoon when "document()" is called ?
A Cocoon implementation could track dependencies, cache documents,

Sylvain Wallez
Anyware Technologies -

To unsubscribe, e-mail:
For additional commands, email:

View raw message