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: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to