Subject: RE: How to populate a HTML <select> tag..??
From: "Michael Kay" <mhkay@xxxxxxxxxxxx>
Date: Sun, 21 Jan 2001 16:21:09 -0000
|
> how do
> I fill in such
> tag attributes as value="", and so on using xsl? For example:
>
> <select name="<xsl:value-of select='.'/>" size="1"><option
> value="<xsl:value-of select='.'/>"></select>
>
Either use attribute value templates:
<select name="{.}" size="1">
or xsl:attribute:
<select>
<xsl:attribute name="name">
<xsl:value-of select="."/>
</xsl:attribute>
</select>
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|