Re: [xsl] Preventing CDATA output in XHTML

Subject: Re: [xsl] Preventing CDATA output in XHTML
From: "Manfred Staudinger" <manfred.staudinger@xxxxxxxxx>
Date: Tue, 3 Jul 2007 00:30:51 +0200
On 02/07/07, M. David Peterson <m.david@xxxxxxxxxxxxx> 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

Current Thread