xsl-list
[Top] [All Lists]

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

2011-01-19 06:42:17

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

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