TO: FROM: BODY: SUBJECT: XML: <?xml version="1.0"?> <!-- This is our first XML file --> <MESSAGE> <TO>STUDENT</TO> <FROM>AUTHOR</FROM> <SUBJECT>Introduction to XML</SUBJECT> <BODY>Welcome to XML</BODY> </MESSAGE>
Your XML is fine and it is displayed, in the default collapsible structure view, in my IE 5 browser.
Are you by any chance using an older version of IE? A non-XML aware version would most likely attempt to treat the file as HTML, skip the tags it did not understand (all of them in this case) and just display the text without the tags.
If this is the behavior you are seeing, then the version of IE is possibly the problem.
Dig Deeper on Topics Archive
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.