|
Subject: RE: <xsl:attribute> From: "Carl Soane" <csoane@xxxxxxxxxxxxx> Date: Tue, 1 Feb 2000 13:22:38 -0800 |
you could do it this way:
<xsl:template match = "OPTIONS">
<option value="{OPTION_NAME}">
</option>
</xsl:template>
-----Original Message-----
From: owner-xsl-list@xxxxxxxxxxxxxxxx [SMTP:owner-xsl-list@xxxxxxxxxxxxxxxx]
On Behalf Of patrick honner
Sent: Tuesday, February 01, 2000 10:50 AM
To: xsl-list@xxxxxxxxxxxxxxxx
Subject: <xsl:attribute>
I am having some problems using <xsl:attribute>: maybe it is simply a
problem of parsers (for example, the following code works in some
environments but not in others), but is there another way to build
attributes into tags that might circumvent the problems I'm having?
<input type = "checkbox">
<xsl:apply-templates select = "OPTIONS"/>
</input>
<xsl:template match = "OPTIONS">
<option>
<xsl:attribute name = "value">
<xsl:value-of select "OPTION_NAME"/>
</xsl:attribute>
</option>
</xsl:template>
Thanks in advance for your thoughts-
Patrick
______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| <xsl:attribute>, patrick honner | Thread | Fw:, mohamed |
| Fw:, mohamed | Date | parse using DOM, Paul Beer |
| Month |