cocoon-dev mailing list archives

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


Tagunov Anthony a écrit :
> 
<snip/> 
> 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,
etc...

-- 
Sylvain Wallez
Anyware Technologies - http://www.anyware-tech.com

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


Mime
View raw message