Subject: RE: [xsl] re: how to get variable value outside scope From: "Michael Kay" <mike@xxxxxxxxxxxx> Date: Sun, 27 Feb 2005 12:24:29 -0000 |
> 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/
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] re: how to get variable value, Brian Phelps | Thread | [xsl] [ANN] practice.xsltwiki.com i, M. David Peterson |
Re: [xsl] how to get variable value, Mukul Gandhi | Date | Re: [xsl] Trying to write XSL for T, Mihir |
Month |