[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] CDATA Handling


Subject: Re: [xsl] CDATA Handling
From: "J. S. Rawat" <jrawat@xxxxxxxxxxxxxx>
Date: Tue, 06 Jan 2009 12:15:50 +0530

Thanks for the clue!!!

At 11:38 AM 1/6/2009, Mukul Gandhi wrote:
you can try cdata-section-elements parameter on xsl:output element.

I have tried below <xsl:output cdata-section-elements="img.embed"/>

<xsl:template match="img.embed">
 <xsl:copy-of select="."/>
</xsl:template>

and the result is
<img.embed><![CDATA[...]]></img.embed>
but It should be
<![CDATA[...]]>


Current Thread