xsl-list
[Top] [All Lists]

RE: Conditionally use attribute sets?

2005-11-14 09:53:54
-----Original Message-----
From: JBryant(_at_)s-s-t(_dot_)com


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.

--~------------------------------------------------------------------
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>
--~--