>I realized I could pass in the context node as a param, but it seems
that is only giving me access to children and not ancestors of the
context node.
Not so, unless you copied it. If you write
<xsl:with-param name="a" select="."/>
then the called template can do $a/ancestor::node().
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>
--~--