RE: [xsl] Complex expression

Subject: RE: [xsl] Complex expression
From: cknell@xxxxxxxxxx
Date: Tue, 28 Feb 2006 15:03:19 -0500
This question would be easy to answer if you included the relevant portion of your XML document. Without that, you are gambling on catching the interest of the subset of this list's subscribers who are intimately familiar with the XML format of whatever version of Excel you are using.
-- 
Charles Knell
cknell@xxxxxxxxxx - email



-----Original Message-----
From:     Oleg Konovalov <olegkon@xxxxxxxxx>
Sent:     Tue, 28 Feb 2006 14:30:40 -0500
To:       xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject:  [xsl] Complex expression

Hi,

I am trying to modify existing XSL 1.0 code.
Need to check if the type of the Excel cells in specific column Start_Date
is indeed DATE.

Is that syntax correct?

<xsl:if test='not($row/sht:Cell/sht:Name[.="Start_Date"]/@ValueType="DATE")'>
 ... do something
</xsl:if>

(doesn't seem to work)

Sorry for the newbie question.

Thank you,
Oleg.

Current Thread