Wrox Programmer Forums
Go Back   Wrox Programmer Forums > XML > XML
|
XML General XML discussions.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the XML section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old September 20th, 2007, 02:00 PM
Friend of Wrox
 
Join Date: Jun 2007
Posts: 477
Thanks: 10
Thanked 19 Times in 18 Posts
Default xml declaration

OK, this is a stupid question I'm sure, but it leaves me scratching my head. When I create an HTML document, I have to declare it as XML in the meta tags, because using the XML declaration causes IE problems. But when I pull up a raw XML file in IE, the XML declaration is handled fine. I assume this means that the HTML and XML are handled by different parsers inside IE, though I may be wrong.

But why in !@^!@#$%, does it make such a difference? Why do you have to use a meta tag hack to declare an HTML file is really XHTML?

-------------------------

Whatever you can do or dream you can, begin it. Boldness has genius, power and magic in it. Begin it now.
-Johann von Goethe

When Two Hearts Race... Both Win.
-Dove Chocolate Wrapper

Chroniclemaster1, Founder of www.EarthChronicle.com
A Growing History of our Planet, by our Planet, for our Planet.
__________________
-------------------------

Whatever you can do or dream you can, begin it. Boldness has genius, power and magic in it. Begin it now.
-Johann von Goethe

When Two Hearts Race... Both Win.
-Dove Chocolate Wrapper

Chroniclemaster1, Founder of www.EarthChronicle.com
A Growing History of our Planet, by our Planet, for our Planet.





Similar Threads
Thread Thread Starter Forum Replies Last Post
xml declaration not displayed zsheema XSLT 10 May 15th, 2008 04:36 AM
standalone declaration Jay Frank XML 5 September 28th, 2007 08:57 AM
omit-xml-declaration dextermagnific XSLT 3 August 4th, 2006 09:55 AM
Declaration Expected kenn_rosie ADO.NET 7 January 17th, 2006 03:58 AM
Create XML Doc with Stylesheet Declaration rodmcleay General .NET 1 November 15th, 2004 04:11 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.