Talk About Network



Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Html Tags > Display XML tag...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 3 Topic 434 of 439
Post > Topic >>

Display XML tags within IE

by "Nick Locke" <nick@[EMAIL PROTECTED] > Jul 5, 2007 at 10:28 PM

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.




 3 Posts in Topic:
Display XML tags within IE
"Nick Locke" &l  2007-07-05 22:28:58 
Re: Display XML tags within IE
Neil Sunderland <neil_  2007-07-05 22:08:09 
Re: Display XML tags within IE
"Nick Locke" &l  2007-07-06 10:42:03 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Tue May 13 20:25:30 CDT 2008.