Subject: Re: [xsl] Dynamic attribute selection From: "Andrew Welch" <andrew.j.welch@xxxxxxxxx> Date: Fri, 5 Sep 2008 14:23:22 +0100 |
> <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/
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] Dynamic attribute selecti, Michael Kay | Thread | RE: [xsl] Dynamic attribute selecti, Alex Cole |
[xsl] Dynamic attribute selection, Alex Cole | Date | RE: [xsl] Dynamic attribute selecti, Alex Cole |
Month |