Hello, If I use cocoon2 with MySQL (and a proper jdbc driver) the following way, everything works well:
<map:generate src="htdocs/site_test.xml"/> <map:transform type="sql"> <map:parameter name="use-connection" value="news"/> </map:transform> <map:transform src="stylesheets/html.xsl"/> <map:serialize type="html"/> _but_ if I want to use it the other way, I only get a NullPointerException :-( <map:generate src="htdocs/site_test.xml"/> <map:transform src="stylesheets/pre_sql_process.xsl"/> <map:transform type="sql"> <map:parameter name="use-connection" value="news"/> </map:transform> <map:transform src="stylesheets/html.xsl"/> <map:serialize type="html"/> So, the pre_sql_process.xsl is proper, but the the sql-transformer get's a NullPointer. Something's is gone wrong with the Chain from the XSLT-Tranformer to the SQL-Transformer. What do I have to do within the sitemap.xmap or the stylesheet to get this chain work? I am not on the list, so please drop me a cc to [EMAIL PROTECTED] thanx a lot, Sebastian --------------------------------------------------------------------- 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]>