You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by 千葉恭弘 <ch...@isid.co.jp> on 2002/11/26 07:20:13 UTC

How can I access Xindice DB from XSL Stylesheet ?

 Xindice can be accessed by the Apache Cocoon generator using
the pseudo-protocol specified in sitemap's pipeline. And also
we can access Xindice from XSP usinf eXist logicsheet. 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. 

<xsl:variable name="xmldb" select="document('xmldb:xindice://
localhost:4080/db/collection/docNo')"/>

Any advice will be appreciated.

Yasuhiro Chiba
e-mail chiba@isid.co.jp

---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <co...@xml.apache.org>
For additional commands, e-mail:   <co...@xml.apache.org>