|
Subject: Re: [xsl] XPath attribute expression From: Florent Georges <darkman_spam@xxxxxxxx> Date: Tue, 19 Dec 2006 16:30:08 +0100 (CET) |
"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[@name eq $n]/value
Regards,
--drkm
___________________________________________________________________________
Dicouvrez une nouvelle fagon d'obtenir des riponses ` toutes vos questions !
Profitez des connaissances, des opinions et des expiriences des internautes sur Yahoo! Questions/Riponses
http://fr.answers.yahoo.com
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| RE: [xsl] XPath attribute expressio, Hintz, David L | Thread | RE: [xsl] XPath attribute expressio, Michael Kay |
| RE: [xsl] XPath attribute expressio, Hintz, David L | Date | RE: [xsl] XPath attribute expressio, Michael Kay |
| Month |