N
Nick Locke
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>
At the moment, that renders as:
hhhhhhhh
oooooo
Hello World
oooooo
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!
Thanks, Nick.
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>
At the moment, that renders as:
hhhhhhhh
oooooo
Hello World
oooooo
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!
Thanks, Nick.