fxp wrote:

>Thanks Vadim,
>but I was looking at something like the Exist page shows: (with
><xmldb:collection> tags). Actually, I couldn't even work out the namespace
>for xindice inside an xsp.
>

Hey man, you are talking "logicsheets" here. Answer is simple: there is 
no one for XMLDB.

List of all logicsheets is available in cocon.xconf, or just list 
directory: src\java\org\apache\cocoon\components\language\markup\xsp\java


>*************
>The Exist page
>*************
>
><xsp:page xmlns:xsp="http://apache.org/xsp";
>          xmlns:xmldb="http://exist-db.org/xmldb/1.0";>
>    <document>
>        <body>
>            <section title="View document">
>                <p>Retrieving document
><xsp:expr>request.getParameter("doc")</xsp:expr></p>
>                <xmldb:collection uri="xmldb:exist:///db/shakespeare/plays">
>                    <xml-source>
>                        <xmldb:get-document encoding="ISO-8859-1" as="xml">
>

If you want just to get document, you can use util logichseet's include 
tag, and include xmldb URL.

Vadim



><xmldb:name>request.getParameter("doc")</xmldb:name>
>                        </xmldb:get-document>
>                    </xml-source>
>                </xmldb:collection>
>            </section>
>        </body>
>    </document>
></xsp:page>
>
>Thanks a lot if you have a hint for me, I'm not a Java geek.
>François
>




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