Re: [xsl] Input tags-more detail, not an html query honest!

Subject: Re: [xsl] Input tags-more detail, not an html query honest!
From: "Christopher R. Maden" <crism@xxxxxxxxx>
Date: Tue, 19 Jun 2001 01:58:14 -0700
At 01:53 19-06-2001, david@xxxxxxxxxxx wrote:
Okay, everyone seems to think I am having an HTML problem but it isn;t, I just
phrased the question badly, here is a smaple of code:
<xsl:for-each select="ABOOK/ANAME">
<td><xsl:value-of select="REALNAME"/></td>
<td><xsl:value-of select="EMAIL"/></td>
<td><xsl:value-of select="NICKNAME"/></td>

<INPUT type='checkbox' name='frmabook' value="?????" checked='true'/>

I need the value of the input to be the same as the xml email value.
How do I do this?

<INPUT type='checkbox' name='frmabook' value="{EMAIL}" checked='checked'/>

Look up "Attribute value templates" in the XSLT reference of your choice. (Also note corrected "checked" attribute value.)

Christopher R. Maden, XML Consultant
DTDs/schemas - conversion - ebooks - publishing - Web - B2B - training
<URL: >
PGP Fingerprint: BBA6 4085 DED0 E176 D6D4  5DFC AC52 F825 AFEC 58DA

XSL-List info and archive:

Current Thread