Re: [xsl] Special Character in XSL Expression.

Subject: Re: [xsl] Special Character in XSL Expression.
From: "Joerg Heinicke" <joerg.heinicke@xxxxxx>
Date: Thu, 31 Jan 2002 11:13:43 +0100
Hello Raj,

you have to replace " by it's unicode-value &#x22;

<xsl:value-of
select="substring-before(substring-after($string,'&#x22;'),'&#x22;')"/>

returns A1.

Regards,

Joerg

----- Original Message -----
From: "Avula, Raj" <RAvula@xxxxxxxxxxx>
To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
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


Current Thread