You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Matt Coolidge <Ma...@pcmove.com> on 2000/08/10 20:32:43 UTC

Outputting the XML from my XSP - no XSL translation?

Hi there everyone.

How can I output the XML that comes out of my XSP page, without any XSLT
applied to it, to an XML capable browser like IE5? My goal here is to
see/debug the resulting XML, so I can make my stylesheet work...

Thanks,
Matt

Re: Outputting the XML from my XSP - no XSL translation?

Posted by Sebastien Koechlin <sk...@ivision.fr>.
Matt Coolidge wrote:

> How can I output the XML that comes out of my XSP page, without any XSLT
> applied to it, to an XML capable browser like IE5? My goal here is to
> see/debug the resulting XML, so I can make my stylesheet work...

Add the <?cocoon-format type="text/xml"?> PI in your XML file.
In the default cocoon.properties file, output is text/html if you do
not have a cocoon-format PI.

--
Sébastien Koechlin