<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[(_at_)*[name() = $t]]/@y"
--
Andrew Welch
http://andrewjwelch.com
Kernow: http://kernowforsaxon.sf.net/
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--