This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

name of a template


Hi all:

    Another quick question, if I may ..........
Can the name of an attribute set be made on the fly? consider the
following code segment:

<xsl:template match="P">
     <fo:block xsl:use-attribute-sets="{concat('property',position())}">
      <xsl:value-of select="."/>
   </fo:block>
 </xsl:template>
</xsl:stylesheet>

This code does not work as intended because it can't build the name of
attribute set on the fly.  Any ideas as to how to go about that?, I tried
using variables and AVT with no success, any ideas?

Greetings
Carmelo


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]