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

Re: strong typed variable with restriction ?

Subject: Re: strong typed variable with restriction ?
From: Andrew Welch <andrew.j.welch@xxxxxxxxx>
Date: Wed, 2 Feb 2011 11:23:47 +0000
Re:  strong typed variable with restriction ?
>> You get the error because you must have an xsl:otherwise, you can't
>> just have xsl:whens.
> I am confused, http://www.w3.org/TR/xslt20/#xsl-choose says
> <xsl:choose>
>  <!-- Content: (xsl:when+, xsl:otherwise?) -->
> </xsl:choose>
> so in general the xsl:otherwise is optional.

Hmm, has that always been the case?   I definitely remember having to
alter some code to add xsl:otherwise's to the choose blocks....
perhaps it was the same situation (return type on the function) and I
confused the error to mean an otherwise was now required...

Andrew Welch

Current Thread


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.
First Name
Last Name
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.