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
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--