RE: [xsl] input + xsl:attribute

Subject: RE: [xsl] input + xsl:attribute
From: Jarno.Elovirta@xxxxxxxxx
Date: Thu, 26 Sep 2002 11:46:32 +0300
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


Current Thread