You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by Sc...@sybase.com on 2001/04/19 23:12:31 UTC
Cocoon 1.8.2 Formatter. XML->XHTML or XML->XML
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