I thought it would be <xsl:when test="focusedTab[(_at_)name='Login']"> but
that would test if the current node had a child element with that
attribute.If you want to test if the current element has the attribute
then
<xsl:when test="@name='Login'">
<xsl:template name="scripts">
<xsl:choose>
if your template just consists of an xsl:choose consider instead using
apply-templates
replace
<xsl:call-template name="scripts"/>
by
<xsl:apply-template select="@name"/>
then you can have
<xsl:template match="@name[.='Login']">....
David
--~------------------------------------------------------------------
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>
--~--