![]() |
![]() | ![]() | ![]() | Altova Mailing List Archives>Archive Index >xsl-list Archive Home >Recent entries >Thread Prev - [xsl] How do i specify maxlenght and size for an input box???? [Thread Next] Re: [xsl] How do i specify maxlenght and size for an input box????To: Date: 5/1/2002 3:26:00 AM Hello Suman,
your code would result in theory in
<input maxlength=""3""/>, which is not well-formed XML of xourse. I
think removing " should solve your problems. And you can write the
attributes as you did it with the type-attribute:
<input type="text" name="txtFaxofAddr"
onBlur="javascript:verifyText(this)" maxlength="3" size="3"
value="{value}"/>
The last one 'value' is a so called "attribute value template" (AVT).
Regards,
Joerg
<input type="text">
<xsl:attribute name="name">txtFaxofAddr</xsl:attribute>
<xsl:attribute name="value"><xsl:value-of select
="value"></xsl:value-of></xsl:attribute>
<xsl:attribute name="onBlur">'verifyText(this);'</xsl:attribute>
<xsl:attribute name="maxlength">"3"</xsl:attribute>
<xsl:attribute name="size">"3"</xsl:attribute>
</input>
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list | ![]() | ![]() | ![]() |
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | |||||
|
