This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: AVT in element instruction
- To: <xsl-list at mulberrytech dot com>
- Subject: Re: AVT in element instruction
- From: "G. Ken Holman" <gkholman at CraneSoftwrights dot com>
- Date: Sat, 28 Oct 2000 23:55:42 -0400 (EST)
- Reply-To: xsl-list at mulberrytech dot com
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@CraneSoftwrights.com
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