[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

[xsl] how to change the xsl text field length?


Subject: [xsl] how to change the xsl text field length?
From: "TP" <tpass001@xxxxxxxxxxx>
Date: Fri, 9 Nov 2001 15:31:04 -0600

I am a total newbie to xml/xsl and need some help.

My xml looks like


<FIELD><FIELD_NAME>Sysout Class</FIELD_NAME>
<FIELD_VALUE>A</FIELD_VALUE><FIELD_LENGTH>1</FIELD_LENGTH></FIELD>



my relevant xsl looks like

<xsl:for-each select="message/text/FIELD"> <tr><td><xsl:value-of
select="FIELD_NAME"/></td><td><input type="Text"><xsl:attribute
name="name"><xsl:value-of
select="FIELD_NAME"/></xsl:attribute><xsl:attribute
name="value"><xsl:value-of
select="FIELD_VALUE"/></xsl:attribute></input></td> </tr></xsl:for-each>
now the xsl produces a field name and an editable text box showing the field
value.
I want the length of the field box to be equal to the <FIELD_LENGTH>
variable. This might be something really simple. appreciate any help.Thanks
in advance.TP


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



Current Thread
Keywords