[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: Q on xsl:choose

Subject: RE: Q on xsl:choose
From: RSuiter@xxxxxxxxx
Date: Wed, 21 Feb 2001 12:55:05 -0600
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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.