Subject: Re: Converting special characters
From: David Carlisle <davidc@xxxxxxxxx>
Date: Tue, 19 Sep 2000 10:08:08 GMT
|
> Code:
> <xsl:when test="contains($string, '"')">
XSL stylesheets have to be well formed XML. That wouldn't have got past
the XML parser as the value of the test attribute is
contains($string, '
and then there is ')" as illegal characters in the start tag.
<xsl:when test="contains($string, '"')">
However,
> I really need to replace some quotes with """ so
after the XML parse, " and " are (always, in any XML file) the same
thing, the single character ". So I am not sure what you would mean by
this replacement.
David
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|