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]
Other format: [Raw text]

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


Joerg Heinicke wrote:
> your code would result in theory in
>
> <input maxlength=""3""/>, which is not well-formed XML of xourse.

Although an XSLT processor would serialize it as:

  <input maxlength="&quot;3&quot;" />

or:

  <input maxlength='"3"' />

which would be well-formed (though not valid XHTML). Unless you use
disable-output-escaping or the text or html methods, it should be
impossible to generate non-well-formed XML using XSLT.

Cheers,

Jeni

---
Jeni Tennison
http://www.jenitennison.com/


 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]