This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: input + xsl:attribute
- From: Jarno dot Elovirta at nokia dot com
- To: <xsl-list at lists dot mulberrytech dot com>
- Date: Thu, 26 Sep 2002 11:46:32 +0300
- Subject: RE: [xsl] input + xsl:attribute
- Reply-to: xsl-list at lists dot mulberrytech dot com
Hi,
> I have an <xsl:attribute name="value"> tag in an input tag,
> this does write
> the value, what could be wrong, please see my code below.
>
> <input name="Site" class="inputDiv" style="width: 92%;
> margin-top: 1px;
> margin-bottom: 1px; border-right: 0px;" onclick="showHideMVDEFDiv();"
> tabindex="12">
> <xsl:if test="$iSCID != '0'">
> <xsl:attribute name="value">
> <xsl:value-of select="$iSite"/>
> </xsl:attribute>
> </xsl:if>
> </input>
Looks ok. What's the expected output, i.e. what doesn't work? It's not adding the value attribute?
Jarno - Funker Vogt: Maschine Zeit (Maschinen-Mix)
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list