The XSLT processor in IE6 supports only XSLT 1.0 and XPath 1.0, but compare() is an XPath 2.0 function. To compare for equality, just use the "=" operator.
Michael Kay
http://www.saxonica.com/
Author, XSLT Programmer's Reference and XPath 2.0 Programmer's Reference