[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: How do i specify maxlenght and size for an input b

Subject: Re: 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
input maxlenght
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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.