May 27, 2021 XML
4. XML DOM(Document Object Model)
5. XSLT (XML Style Sheet Language Conversion)
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.
XML has very simple syntax rules. X ML with the correct syntax is "in good form". A valid XML is validated for DTD.
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.
XML DOM is platform- and language-independent and can be used in any programming language, such as Java, JavaScript, and VBScript.
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!