cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robin Green" <>
Subject RE: Processing XML output from CGI Programs with XSP
Date Wed, 24 Jan 2001 01:58:01 GMT
Kurt Heston <> wrote:
>I?ve done a little more experimenting.
>Here?s my xsp code:
><?xml version="1.0"?>
><?cocoon-process type="xsp"?>
><?cocoon-process type="xslt"?>

You need to comment out this line to see what is really going on. Ricardo 
(or whoever wrote this taglib code) decided to output error messages as text 
instead of throwing exceptions. I'm not sure whether this was a wise 
decision; it seems rather Microsoftish, if you'll pardon the expression.

><?xml-stylesheet href="stylesheet.xsl" type="text/xsl"?>
><xsp:page xmlns:xsp=""
>       xmlns:util="">
>	<page>
>		<util:include-uri
>		<!--<util:include-uri href=""/> -->
>		<!--<util:href>
>			<xsp:expr>""</xsp:expr>
>		</util:href> -->
>	</page>
>You can see I?ve tried a number of different methods.  The best I can get
>for output is:
>	Warning: can't output text before document element!

Get Your Private, Free E-mail from MSN Hotmail at

View raw message