cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Scott.Gabelh...@sybase.com
Subject Cocoon 1.8.2 Formatter. XML->XHTML or XML->XML
Date Thu, 19 Apr 2001 21:12:31 GMT
I currently have Cocoon 1.8.2 formatting results back to clients in the
format of either .html or .wap. How do I get for instance
that same format of results that I am returning as .html to be returned to
the client as .xhtml, .xml, or even plain text.

I use a series of xml->xsl to render results back to various browsers.
Beyond adding the entry below to my xsl file what else
do I need to added to return .xhtml instead of .html???


 <xsl:processing-instruction name="cocoon-format">type
="text/html"</xsl:processing-instruction>
or
 <xsl:processing-instruction name="cocoon-format">type
="text/xhtml/loose"</xsl:processing-instruction>
or
 <xsl:processing-instruction name="cocoon-format">type
="text/xml"</xsl:processing-instruction>



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


Mime
View raw message