[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Dynamic attribute selection
> <xsl:template name="MY_TEMPLATE"> > <xsl:param name="t" /> > <xsl:value-of select="p/c[$t]/@y]" /> > </xsl:template> > > However that obviously doesn't work. how about: select="p/c[@*[name() = $t]]/@y" -- Andrew Welch http://andrewjwelch.com Kernow: http://kernowforsaxon.sf.net/
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|