[XSL-LIST Mailing List Archive Home]
XPaths made up of values of nodes specified by other XPaths
Subject: XPaths made up of values of nodes specified by other XPaths|
From: "James Tauber" <jtauber@xxxxxxxxxxx>
Date: Mon, 1 Nov 1999 15:45:58 -0500
Has anyone come up with a way of using an XPath, part of which is found by
taking the value of a node specified by another XPath? In particular, using
an extension function rather than variable assignment.
Say I have the following document:
and I want to reference the F as /A/D/[whatever the value of /A/B/@C is]
I'd like to be able to do something like:
Is such an extension function feasible?
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list