Altova Mailing List Archives>Archive Index >microsoft.public.xsl Archive Home >Recent entries >Thread Prev - value-of select=...[@attribute] [Thread Next] Re: value-of select=...[@attribute]To: NULL Date: 7/8/2006 7:17:00 PM Tobias Krause wrote: > <xsl:value-of select="phonenumbers/number[@type]"/> Within square brackets [] you have a predicate (in this case selecting all number elements which have a type attribute), if you want the value of the attribute itself then you need phonenumbers/number/@type -- Martin Honnen --- MVP XML http://JavaScript.FAQTs.com/ | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
