[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] How to detect if the context item exists


Subject: Re: [xsl] How to detect if the context item exists
From: Michael Kay <mike@xxxxxxxxxxxx>
Date: Thu, 30 Jun 2011 21:23:00 +0100

as Michael noted you can't do this within the template, however the places that the context item is or is not defined are (I think) all statically detectable,

No, within a named template it's not statically decidable. The named template might be called from within a function.


Michael Kay
Saxonica


Current Thread