Parts of an XML Document

An XML document is a relatively simple item that is made up of few building blocks. This format has been recommended as a web standard in order for an XML document to be Valid.  Below are the components of an XML document.

•   Prolog (optional)

XML Declaration

Document Type Declarations (DTD)

•   Root Element

Nested Elements

Attributes and Values

Data

 

Prolog – The prolog is optional and contains the XML declaration and the DTD.

XML Declaration – states the version of XML that is being used.

DTD – Determines the rules that the XML document must follow. A more detailed lesson on DTDs will be visited later in this tutorial.

Root Element – Is the first element in the XML document and states the kind of XML document that it is. There can only be one root element.

Elements and – These represent the different types of data being stored in the XML document.

Attributes – Like HTML attributes, XML attributes have a name-value relationship.

Data – This is the content of the XML file and it appears between the open and closing tags of the elements.

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

21 Responses to Parts of an XML Document

  1. bmmzyfixtirh cheapest phentermine zero health professional prescribed qrdzoumve buy phentermine diet pill iixqnjouukkebr

  2. You completed various nice points there. I did a search on the subject matter and found mainly folks will agree with your blog.

  3. Great – I should certainly pronounce, impressed with your website. I had no trouble navigating through all the tabs as well as related info ended up being truly simple to do to access. I recently found what I hoped for before you know it at all. Quite unusual. Is likely to appreciate it for those who add forums or anything, website theme . a tones way for your customer to communicate. Excellent task.

  4. Wow, suprisingly I never knew this. Keep up with good posts.

  5. This blog post is way better than the MSM. Thank you for telling the truth. My friends shared it on Facebook.

  6. Hi, thanks for writing this post. I really found the 2nd paragraph interesting. Anyways, I’m gonna post this to my Facebook page later tonight because I think others will enjoy it.

  7. Good Morning, google lead me here, keep up great work.

  8. I really enjoy examining on this internet site , it has got great posts .

  9. I was looking at some of your articles on this site and I believe this internet site is really instructive! Keep on posting .

  10. Enjoyed reading through this, very good stuff, thankyou .

  11. 286033 422327Aw, it was a genuinely very good post. In concept I should put in writing similar to this furthermore – spending time and actual effort to manufacture a outstanding article but exactly what do I say I procrastinate alot and no means discover a strategy to go carried out. 458485

  12. I must say got into this website. I found it to be interesting and loaded with unique points of view.

  13. 465982 846474Get started with wales ahead almost every planking. Ones wales truly are a compilation of huge planks one particular depth advisors surely will be the identical towards the entire hull planking nevertheless with even larger density to successfully thrust outward beyond the planking. planking 477644

  14. I simply must tell you that you have an excellent and unique web that I must say enjoyed reading.

  15. 192596 904500I want searching at and I believe this internet site got some really useful stuff on it! . 627932

  16. 538270 570216Some truly nice and utilitarian information on this internet site , besides I believe the layout holds great features. 199474

  17. 564566 755617I completely agree with you about this matter. Good post. Already bookmarked for future reference. 444789

  18. 520632 776569Thanks for the great post against your weblog, it genuinely provides me with a appear about this subject.??;~.?? 11290

  19. Jame says:

    I will immediately grab your rss as I can’t find your e-mail subscription link or newsletter service. Do you’ve any? Kindly let me know in order that I could subscribe. Thanks.

  20. Hi there! This is my first comment on your site so I just wanted to say a fast hello and say I truly enjoy reading through your blog posts. Can you recommend any other websites that go over mesothelioma attorney blog? I am likewise truly keen on that thing! Appreciate it!

Leave a Reply

Your email address will not be published.