At 00/10/28 10:42 -0400, Melvyn Rosengarden wrote:
Is there a valid synatx for outputting an element whose value is in a
variable ?
I want to say <xsl:variable name="style" select="'TABLE'" />
<xsl:element name="$style" />
<xsl:element name="{$style}">.....</xsl:element>
............... Ken
--
G. Ken Holman mailto:gkholman@xxxxxxxxxxxxxxxxxxxx
Crane Softwrights Ltd. http://www.CraneSoftwrights.com/s/
Box 266, Kars, Ontario CANADA K0A-2E0 +1(613)489-0999 (Fax:-0995)
Web site: XSL/XML/DSSSL/SGML services, training, libraries, products.
Book: Practical Transformation Using XSLT and XPath ISBN1-894049-05-5
Article: What is XSLT? http://www.xml.com/pub/2000/08/holman
Next public instructor-led training: 2000-11-06/07,2000-11-12,
- 2000-12-03/04,2001-01-27,2000-03-26
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|