cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "J.Pietschmann" <>
Subject Re: Getiing external XML data from XSL page
Date Sun, 06 Apr 2003 18:06:15 GMT
João César wrote:
> Can we use something like this
> <xsl:variable name="temp" select="document('url')">
> To get external (internet url) xml data in xsl, without the cache problem in
> the local path's ?

You can use it, but, as you noted, changes in the referred document
will not cause the pipeline reexecuted. You can also run into severe
performance problems with certain Xalan versions.

The usually recommended worarounds are aggregation (in case the URL
is known at the sitemap level) or using XInclude (in case the URL
comes form some XML data, may need a transformation stage to transform
the input data in something with an xi:include element).


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

View raw message