This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: Using xsl to test value of node


 
> > But you still need <xsl:if test="normalize-space()=44639">
> 
> no .=44639 does a numeric test so white space doesn't matter.

True but I think his intention if I can understand this gobbledegook
<xsl:if test() ="44639"/> 
was to do a string compare. I just dropped the '' in the cut'n'paste
(the fact that it wasn't in the second mail I posted is irrelevant:-)
and as there was no xsi:type="xs:integer" in the source I don't think it
is fair to assume that a CHARACTER_ID is a numeric ;-)

Ciao Chris

XML/XSL Portal
http://www.bayes.co.uk/xml


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]