[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

RE: [xsl] Special Character in XSL Expression.


Subject: RE: [xsl] Special Character in XSL Expression.
From: "Michael Kay" <michael.h.kay@xxxxxxxxxxxx>
Date: Thu, 31 Jan 2002 10:06:10 -0000

> Then I want to check whether content is presetn in ""
>
> <xsl:if test="value=""">
>
> How can I handle this?

I'm not clear exactly what you want to test. To test whether value is an
empty string, use

  test="value=''"

To test if value is the string consisting of two double quotation marks, use

  test="value='&quot;&quot;'"

Mike Kay


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



Current Thread