xsl-list
[Top] [All Lists]

Re: [xsl] Preventing CDATA output in XHTML

2007-07-02 15:31:09
On 02/07/07, M. David Peterson <m(_dot_)david(_at_)xmlhacker(_dot_)com> wrote:
   <xsl:output doctype-system="-//W3C//DTD HTML 4.01//EN"
       doctype-public="http://www.w3.org/TR/html4/strict.dtd"; method="html"
       cdata-section-elements="script" indent="yes" />

this should read
        doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN"
        doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";
also, for client-side XSLT always specify
        indent="no"
because MSXML3 adds whitespace to the output

Manfred

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--