[xsl] xsl:use-attribute-sets, xslt 1.0, fo output

Subject: [xsl] xsl:use-attribute-sets, xslt 1.0, fo output
From: Dave Pawson <davep@xxxxxxxxxxxxx>
Date: Wed, 19 Jan 2011 12:41:59 +0000
Given an input
<line remap="LINE">Of government the properties to unfold,</line>

I want to take the the remap att value and use it as a named attribute
set.

Seems 
<xsl:template match="speaker">
    <fo:block xsl:use-attribute-sets="{@remap}">
      <xsl:apply-templates/>
    </fo:block>
  </xsl:template>

is a no no, no AVT here.

Can anyone think of a way of using them... or is the processing
wrong? Do I need an intermediate step first?





-- 

regards 

-- 
Dave Pawson
XSLT XSL-FO FAQ.
http://www.dpawson.co.uk

Current Thread