[UPHPU] Displaying XML as text

Jonathan Duncan jonathan at bluesunhosting.com
Thu Jan 18 16:14:36 MST 2007


On Thu, 18 Jan 2007, Scott Hill wrote:

> I have a situation where users can paste XML into a text field.  When I try
> to display it, the XML parts of the text don't show up because the browser
> sees it as XML.  What can I do to make the XML show as text?
>


<pre>XML code goes in here.</pre>


Or convert all the < and > to &lt; and &gt;


Jonathan


More information about the UPHPU mailing list