Re: xsl:if / variables / fancy / confusing
I was thinking:
You cannot use attribute value templates within attributes that are expected to contain XPath expressions themselves. Not a very nice solution, but you could use:
<xsl:if test="/configuration/details/errors/*[local-name() = concat('attribute_', attribute_id)]"> <xsl:attribute name="style">xyz</xsl:attribute> </xsl:if>
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