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]

how to change the xsl text field length?


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


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