cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joerg Heinicke <jheini...@virbus.de>
Subject Re: stylesheet directed termination ??
Date Thu, 06 Nov 2003 15:56:10 GMT
"stylesheet directed termination" means there is a <xsl:message 
terminate="yes"> anywhere in your stylesheet xmldb.xsl.

Joerg

Katharina Weimer wrote:
> 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...


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message