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 [EMAIL PROTECTED]

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

Reply via email to