|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: re: how to get variable value outside scope
> As to why the compiler doesn't complain on this construction: > > <xsl:choose> > <xsl:if test="count(news_post) < 3"> > > which the compiler should have thrown out: the only things allowed > inside > xsl:choose are xsl:when and xsl:otherwise. It's helpful in such cases to identify the processor in question. Ideally you should report the bug to the vendor: any respectable vendor will be grateful for the information (this kind of error can survive in a product for years: for example at one time Saxon didn't require xsl:param to come before other things in a template, and either no-one noticed, or they didn't report it). Failing that, don't hesitate to name the processor on this list. It's useful for the community as a whole to know that a particular processor has a particular bug, and it also helps people to help you with your problem. Michael Kay http://www.saxonica.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
|

Cart








