May 27, 2021 XML
XML can be used to exchange, share, and store data.
XML documents form a tree structure that starts at the branch offices of Roots and Leaves.
XSLT is used to convert XML to other formats, such as HTML.
All modern browsers have a built-in XML parser that reads and manipulates XML.
The Document Object Model defines a standard way to access XML.
The XMLHttpRequest object provides a way for web pages to communicate with the server after loading.
XML Namespace provides a way to avoid element naming conflicts.
Text in the CDATA region is ignored by the parser.
Our XML instance also represents a summary of this XML tutorial.
We recommend learning about XML DOM and XSLT.
If you want to learn about validating XML, we recommend learning about DTD and XML Schema.
Below is a short description of each topic.
XML DOM defines a standard way to access and process XML documents.
If you want to learn more about DOM, visit our XML DOM tutorial.
XSLT is the style sheet language for XML files.
By using XSLT, you can convert XML documents to other formats, such as XHTML.
If you would like to learn more about XSLT, please visit our XSLT tutorial.
The purpose of DTD is to define legitimate elements, properties, and entities in an XML document.
By using DTD, each XML file can carry a description of its own format with it.
DTD can be used to confirm that the data you receive and your own data is valid.
If you want to learn more about DTD, visit our DTD tutorial.
XML Schema is an XML-based alternative to DTD.
Unlike DTD, XML Schema supports data types and uses XML syntax.
If you want to learn more about XML Schema, visit our XML Schema tutorial.
In the next section, we've provided you with some examples of how XML can be used!