This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Converting special characters
- To: "'xsl-list at mulberrytech dot com'" <xsl-list at mulberrytech dot com>
- Subject: RE: Converting special characters
- From: Kay Michael <Michael dot Kay at icl dot com>
- Date: Tue, 19 Sep 2000 15:14:37 +0100
- Reply-To: xsl-list at mulberrytech dot com
> <xsl:when test="contains($string, '"')">
An XML attribute can't contain both double and single quotes.
I generally try to avoid the complexities of XML escaping by using
<xsl:variable name="quot">"</xsl:variable>
<xsl:when test="contains($string, $quot)">
Mike Kay
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list