XML Declaration


The prolog is considered to be optional in an XML document. If it is included in the document, it must be placed before the root element. A prolog has one or both of two items: the XML declaration and the DTD.  If both are used, then the XML declaration should be placed before the DTD declaration.

The XML declaration is where the version of XML being used is defined. The current version is 1.0 and this can be verified at the w3.org site. The declaration is not necessary, but it is a good idea to include it.  And example of an XML declaration is the following:

Example: <?xml version=”1.0″?>

This entry was posted in XML Tutorial. Bookmark the permalink.

6 Responses to XML Declaration

  1. Have you ever considered about including a little bit more than just your articles? I mean, what you say is fundamental and all. Nevertheless just imagine if you added some great graphics or videos to give your posts more, “pop”! Your content is excellent but with images and clips, this site could certainly be one of the greatest in its field. Great blog!

  2. hey there and thank you for your info ¡V I have certainly picked up something new from right here. I did however expertise several technical points using this website, as I experienced to reload the web site a lot of times previous to I could get it to load correctly. I had been wondering if your web host is OK? Not that I am complaining, but slow loading instances times will often affect your placement in google and can damage your quality score if advertising and marketing with Adwords. Anyway I am adding this RSS to my email and could look out for much more of your respective fascinating content. Ensure that you update this again soon..

  3. OK first take a good look at your self. What do you like what do you not like so much. Work on that which you do not like. But do not listen to other people their opinions do not matter only yours does. Work on having the attitude that this is who you’re and if they don’t like it they can go to hell.

  4. I like this website it’s a master piece! Glad I found this on google.

  5. Criteria may possibly originally glance very clear (“on your own’re battling”, “not advertising sufficient”, “not talking up inside gross sales conferences”).

  6. Hi, merely became enlightened of your weblog by using Yahoo, and discovered that should be really informative. I am going to be cautious for brussels. I could be delighted if you happen to go on this in the long run. A lot of persons is likely to be benefited from your posting. All the best!

Leave a Reply

Your email address will not be published.