[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
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
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Re: [xsl] How do i specify maxlenght and size for an input box????
Subject: Re: [xsl] How do i specify maxlenght and size for an input box???? From: Joerg Heinicke <joerg.heinicke@xxxxxx> Date: Wed, 01 May 2002 13:31:36 +0200 |
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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] How do i specify maxlengh, John Sands | Thread | Re: [xsl] How do i specify maxlengh, Jeni Tennison |
Re: [xsl] How do i specify maxlengh, John Sands | Date | Re: [xsl] How do i specify maxlengh, Jeni Tennison |
Month |
Keywords