Subject: RE: [xsl] Using an XSLT value as a HTML parameter From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx> Date: Mon, 17 Sep 2001 12:16:36 -0400 |
Something like this
<xsl:template match="text"> <xsl:element name="font"> <xsl:attribute name="@format"> <xsl:value-of select="@value"/> </xsl:attribe> </xsl:element> </xsl:template>
I don't know if @format goes with {} or not, have a try.
<xsl:template match="text"> <font> <xsl:attribute name="{@format}"> <xsl:value-of select="@value"/> </xsl:attribute> [ ... whatever ... ] </font> </xsl:template>
Enjoy, Wendell
====================================================================== Wendell Piez mailto:wapiez@xxxxxxxxxxxxxxxx Mulberry Technologies, Inc. http://www.mulberrytech.com 17 West Jefferson Street Direct Phone: 301/315-9635 Suite 207 Phone: 301/315-9631 Rockville, MD 20850 Fax: 301/315-8285 ---------------------------------------------------------------------- Mulberry Technologies: A Consultancy Specializing in SGML and XML ======================================================================
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] Using an XSLT value as a , Carlos Fragoso Maris | Thread | [no subject], Dmitri Ilyin |
Re: [xsl] preserve-space and strip-, David Carlisle | Date | [xsl] Re: xsl:for-each "looping inf, Wendell Piez |
Month |