> Has anyone thought of the requirements for HTML strings?
>
> "     =>      "  =>      "
> &     =>      &   =>      &
> <     =>      &lt;    =>      <
> >     =>      &gt;    =>      >


XmlUtils takes care of this. Although there is no unescapeXml method and
it only handles < > and &. Plus it's not smart about attributes. It will
escape both the & in:

Some text & a <a href="thing.html?bob=1&jim=1">Url</a>

ie) it's really just a handful of replace statements.

Bay


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to