xsl-list
[Top] [All Lists]

RE: using xsl:if to test the value of a node

2002-12-05 03:34:45

I am very new to XSL, so I hope you will excuse the basic questions!

I am using MS ie6 for my XSL experiments and I need to do 
some data sorting.


I am trying the following...

      <xsl:if test="child::CODE[. $lt$ 'K' and . $gte$ 'J']">


You are using Microsoft's obsolete and proprietary WD-xsl language. They
produced this as a stopgap in 1998 while waiting for the XSLT standard
to be finished. IE6 also includes an excellent implementation of the
standard XSLT language, which is the subject of this list, and is the
language that you should be using.

The easiest way of spotting the difference is from the namespace
declaration in the <xsl:stylesheet> element, but there are many other
differences, and XSLT is far more powerful.

Michael Kay
Software AG
home: Michael(_dot_)H(_dot_)Kay(_at_)ntlworld(_dot_)com
work: Michael(_dot_)Kay(_at_)softwareag(_dot_)com  


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



<Prev in Thread] Current Thread [Next in Thread>