[xsl] variable attribute

Subject: [xsl] variable attribute
From: Bennett <bennett@xxxxxxxxxxxxx>
Date: Fri, 27 Feb 2004 11:04:27 -0500
Hi All,

Is there a way to select an element via a variable attribute and compare the value of that variable attribute to a string?

What I'm looking for would kind of look like the code below (if it was legal to use an ATV for attribute names).

/a/*[@{$attrName} = 'someString']

Thank you for any help on this

XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list

Current Thread