- XML stands for eXtensible Markup Language.
- XML is similar to HTML.
- XML tags are not pre-defined. You create and define them using DTD.
- XML documents are saved as text files with the .xml extension. The main difference between HTML and XML is action. XML will describe data, HTML will display data. XML will structure, store and send data information.
HTML uses a set of pre-defined tags. <p> <div> <br> and so forth. XML allows you to define and use your own tags.
The tag names may be almost any word you can think of. It can be a combination of letters, numbers, and underscores. It should be descriptive to make it easy for you to understand what the area is. It cannot start with the letters XML and must start with a letter or underscore.
- There must be a "root" or main tag set surrounding all others.
- Correct nesting of tags is essential. No overlapping.
- CaPiTaLiZaTiOn is important.
- Property values must be "quoted"
- Ending of tags is required.
- XML comments are the same as HTML comments. <!-- text -->
Table of Contents
Learn More About XML
My First XML Page
Take a look at how you can build a webpage using XML.
What is XML, DTD, and XSLT
Learn what XML, DTD, and XSLT are and how they can be used.
Elements and Attributes
Learn about how and why you'd use elements and attributes when working in XML.
Learn about how XSLT is used to style XML.