1

Topic: Whether how to transfer in use-attribute-sets

Kind time of days.
Again appeared a few time for conversion of reports under xsl-fo
In reports there are many same lists with different styles. Made them through template.
It is impossible to remove check and to import attribute of style in use-attribute-sets. And that of for choose  a bed-sheet turns out.

<xsl:call-template name = "listitem">
<xsl:with-param name = "item1" select = "var1"/>
<xsl:with-param name = "item2" select = "var2"/>
<xsl:with-param name = "atr1" select = "style1"/>
</xsl:call-template>
<xsl:call-template name = "listitem">
<xsl:with-param name = "item1" select = "var3"/>
<xsl:with-param name = "item2" select = "var4"/>
<xsl:with-param name = "item5" select = "var5"/>
<xsl:with-param name = "atr1" select = "style2"/>
</xsl:call-template>
<! - Template ListItem->
<xsl:template name = "listitem">
<xsl:param name = "item1"/>
<xsl:param name = "item2"/>
<xsl:param name = "item3"/>
<xsl:param name = "atr1"/>
<fo:list-item>
<fo:list-item-label>
<fo:block> </fo:block>
</fo:list-item-label>
<fo:list-item-body>
<! - here so it is impossible
<fo:block xsl:use-attribute-sets = "{$ atr1}">
<xsl:value-of select = "concat ($item1, '   ', $item2, '   ', $item3)"/>->
<xsl:choose>
<xsl:when test = "$ atr1 ='style1 '">
<xsl:value-of select = "concat ($item1, '   ', $item2, '   ', $item3)"/>->
</fo:block>
</xsl:when>

2

Re: Whether how to transfer in use-attribute-sets

lost

<xsl:choose>
<xsl:when test = "$ atr1 ='style1 '">
[u] [b] <fo:block xsl:use-attribute-sets = "style1"> [/b] [/u]
<xsl:value-of select = "concat ($item1, '   ', $item2, '   ', $item3)"/>->
</fo:block>

3

Re: Whether how to transfer in use-attribute-sets

The people, respond!!
It is possible as that it to make or not?