Hi,

On Sunday 24 November 2002 05:32, åèæå wrote:
>  Xindice can be accessed by the Apache Cocoon generator using
> the pseude-protocol specified in sitemap's pipeline. But how
> can we access xindice DB from the xsl stylesheet?  Ordinally
> external xml files can be accessed by the document() function
> in XSL, but when I specified the xindice protocol in the
> document()'s argument shown bellow, null pointer exception
> occurred.

This would not work, because the document() function is evaluated by your
XSL engine (most likely xalan), which is not aware of cocoon pseudo
protocols. You could insert the document before or after XSL transformation
using an other transformer, for example the cinclude transformer.  
I would consider using document() in cocoon always a bad style,
since it is not reflected in the sitemap.

Martin

P.S:
Follow ups please to [email protected] 

Reply via email to