i want to use eXist database with cocoon. for this, i have to configure the
taglib for eXist.
i have exist.jar in web-inf\lib
in coccon.xconf i put
<builtin-logicsheet>
<parameter name="prefix" value="exist-rpc"/>
<parameter name="uri"
value="http://exist.sourceforge.net/exist/1.0"/>
<parameter name="href" value="resource://org/exist/exist.xsl"/>
</builtin-logicsheet>
in web.xml
<taglib>
<taglib-uri>exist-taglib</taglib-uri>
<taglib-location>/WEB-INF/exist-taglib.tld</taglib-location>
</taglib>
I have exist-taglib.tld in web-inf
In xsp page I use something like this:
xmlns:exist="http://exist.sourceforge.net/NS/exist"
xmlns:exist-rpc="http://exist.sourceforge.net/exist/1.0"
and then
<exist-rpc:connection uri="http://localhost:8081">
<p>Connection to server not established</p>
<select name="collection" size="1">
<option>all documents</option>
<exist-rpc:get-collection-names root="/">
<option><exist-rpc:collection-name/></option>
</exist-rpc:get-collection-names>
</select>
</exist-rpc:connection>
but nothing is happened.
i think that i have to specify the path to exist.jar but i don't know how.
can anybody tell me?
thanks
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>