"Hintz, David L" wrote:
Hi
I should have noted that this is not an XSLT application.
So, I need a pure XPath expression -- probably XPath 1.0.
I think it is not possible in plain XPath 1.0 unless you can bind a
variable or a function to get the @name of the context node. In XPath
2.0, you can use something like (if I understand correctly, you are not
sure you are limited to 1.0):
for $n in @name return
/topLevel/ents/ent[(_at_)name eq $n]/value
Regards,
--drkm
___________________________________________________________________________
Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions !
Profitez des connaissances, des opinions et des expériences des internautes sur
Yahoo! Questions/Réponses
http://fr.answers.yahoo.com
--~------------------------------------------------------------------
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>
--~--