cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Hartle <mhar...@hartle-klug.com>
Subject Re: xmldb protocol in xsl stylesheets is not working
Date Fri, 26 Apr 2002 11:21:59 GMT
Bröckelmann, Mathias wrote:

><xsl:stylesheet ...>
>  ...
>  <xsl:template match="foo">
>    ...
>    <xsl:copy-of select="document('xmldb:xindice:///db/test/news/documentkey')"/>
>    ...
>  </xsl:template
>  ...
></xsl:stylesheet>
>
Just a note: IIRC, using document() in an XSL stylesheet probably will 
result in caching problems, as the TraxTransformer only checks the 
modification date of the XSL file, but not the document()-wise 
referenced XML sources.

Just guessing, might it be that the URL in document() isn't being 
resolved with a SourceResolver ?

>I´m using cocoon 2.1 but this problem exists also in the latest stable release.
>
>Thank you,
>
>Mathias Broekelmann
>  
>
Best regards,

Michael Hartle,
Hartle & Klug GbR


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


Mime
View raw message