[Home] [By Thread] [By Date] [Recent Entries]

  • From: ives.gobau.ig@b...
  • To: xml-dev@l...
  • Date: Fri, 24 Nov 2000 10:12:14 +0100


Han Chock Lee wrote:
> I have a xml document which contain
>
> <name>Nurse&apos;s Station</name>
>
> and in the stylesheet, I have specifed it as <xsl:value-of
> select="name" disable-output-escaping="no"/> to output it
> as &apos; instead of single quote character ' .

Have you tried to escape the ampersand (&) ?

<name>Nurse&amp;apos;s Station</name>

This will render to:
Nurse&apos;s Station

Ives



Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member