|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] XPaths made up of values of nodes specified by other XPaths
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:
<A>
<B C="E/F"/>
<D>
<E>
<F>JACKPOT!</F>
</E>
</D>
</A>
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:
/A/D/foo("/A/B/@C")
Is such an extension function feasible?
James
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








