RE: [xsl] Q on xsl:choose

Subject: RE: [xsl] Q on xsl:choose
From: RSuiter@xxxxxxxxx
Date: Wed, 21 Feb 2001 12:55:05 -0600
I'd just add one more thing.
The old Microsoft XSL processor used to accept <xsl:when match='whatever'>
and treat it the same as <xsl:when test='whatever'>.
But this was not in accord with the spec.
When converting from MS XSL to real XSLT, I had to correct mistakes by

Rick Suiter on 02/21/2001 12:35:17 PM

Please respond to xsl-list@xxxxxxxxxxxxxxxxxxxxxx

Sent by:  owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx

To:   xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject:  RE: [xsl] Q on xsl:choose

Sorry :(, but the error message is correct.
The element xsl:when does not have a 'match' attribute
it has a 'test' attribute. Your code should be :

      <xsl:when test="@order='D'">DN</xsl:when>


 XSL-List info and archive:

Current Thread