ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> xsl-list
xsl-list
[xsl] variable attribute
by Bennett other posts by this author
Feb 27 2004 4:04PM messages near this date
Re: [xsl] XPath problem: Checking if imidiately preceding sibling is of a certain kind | Re: [xsl] variable attribute
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
Thread:
Bennett
G. Ken Holman

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved