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 http://andrewjwelch.com
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