[xsl] name of a template

Subject: [xsl] name of a template
From: "Carmelo Montanez" <carmelo@xxxxxxxx>
Date: Thu, 18 Jan 2001 10:28:04 -0500
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="."/>

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?


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

Current Thread