This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: Problems displaying xsl:value-of within quotes


> which is fine, but I want to change the NAME="item1" to 
> NAME="<xsl:value-of 
> select="@name"/>" but this does not work.
> 
> Anyone know how to get around this problem ?

Use <xsl:attribute> instead to set an attribute on the open element.

Try

<INPUT TYPE="CHECKBOX">
<xsl:attribute name="NAME">item1</xsl:attribute>
<xsl:value-of select="@label"/>
</INPUT>

instead, and then replace item1 with your xsl:value-of. 

Best regards,
--
  Thorbjørn



 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]