This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
how to change the xsl text field length?
- To: <xsl-list at lists dot mulberrytech dot com>
- Subject: [xsl] how to change the xsl text field length?
- From: "TP" <tpass001 at hotmail dot com>
- Date: Fri, 9 Nov 2001 15:31:04 -0600
- References: <200111092103.fA9L33u23781@mailgate5.cinetic.de>
- Reply-To: xsl-list at lists dot mulberrytech dot com
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