Re: [xsl] Accessing variable with computed name

Subject: Re: [xsl] Accessing variable with computed name
From: David Carlisle <davidc@xxxxxxxxx>
Date: Tue, 9 Dec 2003 20:28:12 GMT

 doing an <xsl:choose /> over all possible attribute
values is indeed the route I was about to take next.

If there's more than a couple i wouldn't use xsl:choose, I'd do
<table>
<xsl:attribute name="style">
<xsl:apply-templates select="@frame"/>
</xsl:attribute>

together with
<xsl:template match="@frams[.='box']">border: llkkkk</xsl:template>

David


-- 
http://www.dcarlisle.demon.co.uk/matthew

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread