RE: [xsl] Conditionally use attribute sets?

Subject: RE: [xsl] Conditionally use attribute sets?
From: "Haarman, Michael" <mhaarman@xxxxxxxxx>
Date: Mon, 14 Nov 2005 10:53:54 -0600
> -----Original Message-----
> From: JBryant@xxxxxxxxx


> It's easier in 2.0 because 
> 
> <xsl:attribute name="xsl:use-attribute-sets">
>   <xsl:value-of select="'Oscar'"/>
> </xsl:attribute>
> 
> can be
> 
> <xsl:attribute name="xsl:use-attribute-sets" select="'Oscar'"/>
> 


The entire choose block could be eliminated if attribute-sets were not
restricted to QNames.  I would have thought runtime composition of these
names was a natural place for version 2.0 to go, but it has not.

I have always wanted to write this:

<xsl:attribute name="xsl:use-attribute-sets" select="{$who}"/>


Mike


-----------------------------------
Mike Haarman,
XSL Developer,
Internet Broadcasting Systems, Inc.

Current Thread