Hi David.
As (almost) always with xsl (xpath), it is so easy when you know...
I would never have thought of this syntax...
Thank you so much.
Best regards,
Fabien
-----Message d'origine-----
De : David Carlisle [mailto:davidc(_at_)nag(_dot_)co(_dot_)uk]
Envoyé : lundi 2 avril 2012 11:58
À : xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Cc : Fabien Tillier
Objet : Re: [xsl] Filtering nodes based on name and value
On 02/04/2012 10:51, Fabien Tillier wrote:
<xsl:value-of select="row[N101 = 5]"/>
<xsl:variable name="param" select="'N101'"/>
<xsl:value-of select="row[*[name()=$param] = 5]"/>
David
--
google plus: https:/profiles.google.com/d.p.carlisle
________________________________________________________________________
The Numerical Algorithms Group Ltd is a company registered in England
and Wales with company number 1249803. The registered office is:
Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.
This e-mail has been scanned for all viruses by Star. The service is
powered by MessageLabs.
________________________________________________________________________
--~------------------------------------------------------------------
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>
--~--