cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefano Mazzocchi <stef...@apache.org>
Subject Re: Using XSP without XSLT
Date Fri, 07 Jul 2000 11:33:00 GMT
Ugo Cei wrote:
> 
> I have an XSP document that uses the SQL taglib. I would like to run
> Cocoon on it without transforming it via XSLT. I tried removing the
> <?cocoon-process type="xslt"?> instruction from the document, but Cocoon
> insists on producing an HTML file with a <!DOCTYPE HTML ...>
> prolog. I also had no luck putting an <xsl:output method="xml"/> in the
> stylesheet, but the output is always HTML, not XML.
> 
> Would it be possible to just save the result of the XSP producer?

Sure, just place

 <?cocoon-format type="text/xml"?>
 
> --
> Ugo Cei - Consorzio di Bioingegneria e Informatica Medica
> P.le Volontari del Sangue, 2 - 27100 Pavia - Italy
> Phone: +39.0382.525100 - E-mail: u.cei@cbim.it

Cool, somebody from my town, what a small world :)

-- 
Stefano Mazzocchi      One must still have chaos in oneself to be
                          able to give birth to a dancing star.
<stefano@apache.org>                             Friedrich Nietzsche
--------------------------------------------------------------------
 Missed us in Orlando? Make it up with ApacheCON Europe in London!
------------------------- http://ApacheCon.Com ---------------------



Mime
View raw message