Re: XML in textarea problem

Andrew Clover wrote:

>The <p> here is not markup, it is literal text content and should be
>encoded as such:
>
>  <textarea>
>    &lt;p>Blah, blah, blah.&lt;/p>
>  </textarea>
>
You should also encode the > character as &gt; to be correct.  The four 
entities defined in xml (&lt; &gt; &amp; and &quot;) should always be 
used, rather than the literal characters.

Received on Tuesday, 4 November 2003 04:47:50 UTC