|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Q on xsl:choose
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
hand.
Rick Suiter
sara.mitchell@xxxxxxxxx@l... on 02/21/2001 12:35:17 PM
Please respond to xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Sent by: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
cc:
Subject: RE: 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:choose>
<xsl:when test="@order='D'">DN</xsl:when>
<xsl:otherwise>UP</xsl:otherwise>
</xsl:choose>
Sara
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








