> -----Ursprüngliche Nachricht-----
> Von: Michael Hartle [mailto:[EMAIL PROTECTED]]
> Gesendet: Freitag, 26. April 2002 13:22
> An: [EMAIL PROTECTED]
> Betreff: Re: xmldb protocol in xsl stylesheets is not working
> 
> 
> 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.

I don´t think so, hopefully :))

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

It is resolved throught the SourceResolver of Cocoon.

The problem is the implementation of either the XMLDBSource or specifically the 
AbstractSAXSource class.
AbstractSAXSource is not able to serialize the xml document coming from the xmldb 
database.

> 
> >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]
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to