Altova Mailing List Archives>Archive Index >xsl-list Archive Home >Recent entries >Thread Prev - [xsl] Dynamic attribute selection [Thread Next] RE: [xsl] Dynamic attribute selectionTo: Date: 9/5/2008 1:30:00 PM > <xsl:value-of select="p/c[@x]/@y]" /> > > That will display 27 as expected and required, and this is > exactly the effect I want, however I am having trouble > porting it to a template where you can specify as a parameter > the name of the attribute you want to ensure is present. p/c[@*[name()=$param]]/@y (May need a bit more care if the attribute can be in a namespace) Michael Kay http://www.saxonica.com/ | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
