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

[xsl] A way to use Single quote or double quote in XML and/or output it into HTML & FO without resorting to CDATA in the XML?


Subject: [xsl] A way to use Single quote or double quote in XML and/or output it into HTML & FO without resorting to CDATA in the XML?
From: "SANWAL, ABHISHEK (HP-Houston)" <abhishek.sanwal@xxxxxx>
Date: Wed, 1 Oct 2003 09:25:43 -0500

e.g.
<Section SectionHeading="What's New">

Currently I have compromised the above data into - 

<Section SectionHeading="Whats New"> and am using the following match.

<xsl:template match="Section[@SectionHeading='Whats New']">

What can I do to maintain that quote in the content and still be able to
do the template match?

I tried using &quote; etc. but apparently I was unable to use it and to
get the XSLs to run I just went around the issue.

Abhishek Sanwal
HP - Houston Campus
abhishek.sanwal@xxxxxx

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



Current Thread