cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Katharina Weimer" <katharina_Wei...@gmx.de>
Subject stylesheet directed termination ??
Date Thu, 06 Nov 2003 15:08:47 GMT
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: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message