xsl-list
[Top] [All Lists]

Re: Accessing variable with computed name

2003-12-09 13:28:12


 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



<Prev in Thread] Current Thread [Next in Thread>