You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by Shal Jain <sh...@intertechsys.com> on 2000/06/30 17:24:48 UTC

Re:Match function in XALAN

How does one use XPath independent of XSLT to implement the "match"
functionallity that template lists must use in order to determine which
template applies to a given node gotten from a "select" in apply-templates.

XPath does support an execute function which can be applied to a given
context node.  The problem here obviously is that "match" is specified such
that direct use of execute method will require us to iteratively apply
execute to the current node and each of its ancestors until the criterion
has been satisfied.

Thanx

-shal