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: Jeni Tennison <jeni@xxxxxxxxxxxxxxxx>
Date: Wed, 1 May 2002 12:52:18 +0100
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


Current Thread