Hello,
I�m getting an �Stylesheet directed termination� when trying to connect from
Cocoon 2.1 to exist 0.9.2 with the XMLDB Logicsheet for Cocoon.
My sitemap looks like that:
<map:match pattern="adressen">
<map:generate type="serverpages" src="TEST/xml/samples/adressen.xsp"/>
<map:transform src="stylesheets/xmldb.xsl"/>
<map:serialize type="xml"/>
..and the associated xsp:
<?xml version="1.0" encoding="iso-8859-1"?>
<xsp:page xmlns:xsp="http://apache.org/xsp"
xmlns:xmldb="http://exist-db.org/xmldb/1.0">
<document>
<body>
<section title="Datenbankabfragen">
<xml-source>
<xmldb:collection
uri="xmldb:exist//localhost:8080/exist/xmlrpc/db/addressbook">
<chapter>
<xmldb:execute>
<xmldb:path>document(*)//contacts/contact[name]</xmldb:path>
<p> Found <xmldb:get-hit-count/> hits </p>
<xmldb:results>
<xmldb:get-xml as="string"/>
</xmldb:results>
</xmldb:execute>
</chapter>
</xmldb:collection>
</xml-source>
</section>
</body>
</document>
</xsp:page>
Anybody an idea what I did wrong?
Greetz,
Katharina
ps: Has anybody a working example for the XMLDBTransformer ? I was trying
the one shipped with eXist, but somehow it didn't work...
--
HAKUNA MATATA !!!
NEU F�R ALLE - GMX MediaCenter - f�r Fotos, Musik, Dateien...
Fotoalbum, File Sharing, MMS, Multimedia-Gru�, GMX FotoService
Jetzt kostenlos anmelden unter http://www.gmx.net
+++ GMX - die erste Adresse f�r Mail, Message, More! +++
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]