xsl-list
[Top] [All Lists]

Re: <textarea>, HTML and CDATA

2003-02-03 20:09:56
Mike, 

You are correct, of course.  My confusion lay in that I thought the code
with characters escaped would display the entities and not characters.

Thanks for your help, and clearing up my understanding of this,
Anode

... but it is also incorrect. You are somewhat confused about what happens to
"work" in these lenient tag-soup readers we call HTML user agents, versus what
is actually correct HTML and XHTML syntax. This is what you really want:

<form>
<textarea rows="5" columns="50">
  &lt;strong&gt;Hello, world!&lt;/strong&gt;
</textarea>
</form>



 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list