Posted by Ben C on 07/05/07 21:35
On 2007-07-05, Nick Locke <nick@nicklocke.co.uk> wrote:
> I have a need to display some XML without IE interpreting the tags. I want
> something like this:
>
><html>
><head><title>xxxx</title></head>
><body>
><h1>hhhhhhh</h1>
><p>oooooo</p>
><xmltag>Hello World</xmltag>
><p>oooooo</p>
></body>
></html>
[...]
> Whereas what I need is:
>
> hhhhhhhh
> oooooo
><xmltag>Hello World</xmltag>
> oooooo
>
> I have tried wrapping the XML in <pre></pre> and <blockquote></blockquote>
> and both still just lose the tags. View Source works fine, but I need to
> see the tags within the page itself.
>
> Ideas welcome!
<xmltag>Hello world</xmltag>
Navigation:
[Reply to this message]
|