Home >>XML Tutorial
XML tutorial is for learners and for experts. Our XML tutorial provides detailed knowledge of XML technology such as xml, xml characteristics, xml instances, xml related technologies, xml structure formation by DTD, xml structure development by schema (XSD), distinction between DTD and schema.
XML file is validable in 2 ways:
The XML structure is specified using DTD (Document Schema Definition) and XSD (XML Schema Definition).
You'll learn about DTD file, build xml with DTD, use CSS file, CDATA vs PCDATA and the discrepancy between DTD and XML schema in our XML tutorial.
Let's have a peek at a definition of XML utilizing DTD.
<?xml version="1.0"?> <!DOCTYPE employee SYSTEM "employee.dtd"> <employee> <firstname>phptpoint</firstname> <lastname>Noida</lastname> <email>email@example.com</email> </employee>
We will provide a detailed description of the scheme file, XML schema testing, XML schema data types and XML parsers in this XML tutorial.
Let's have a look at an example of XML using XSD.
<?xml version="1.0"?> <employee xmlns="http://www.phptpoint.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.phptpoint.com employee.xsd"> <firstname>phptpoint</firstname> <lastname>Noida</lastname> <email>firstname.lastname@example.org</email> </employee>
|1||What is XML|
|3||HTML vs XML|
|5||XML Related Technologies|
|8||XML Tree Structure|
|13||DTD vs XSD|
|14||CDATA vs PCDATA|