This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Special Character in XSL Expression.
Hello Raj,
you have to replace " by it's unicode-value "
<xsl:value-of
select="substring-before(substring-after($string,'"'),'"')"/>
returns A1.
Regards,
Joerg
----- Original Message -----
From: "Avula, Raj" <RAvula@firstam.com>
To: <xsl-list@lists.mulberrytech.com>
Sent: Thursday, January 31, 2002 3:59 AM
Subject: [xsl] Special Character in XSL Expression.
>
> Hi,
> How can I handle special character in XSL expression.
> I have a string like
>
> custid="A1"
> I want to see whether valid value is present for custid
> First I will get substring-after which will return "A1"
> Then I want to check whether content is presetn in ""
>
> <xsl:if test="value=""">
>
> How can I handle this?
>
> Thanks
> Raj..
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list