XML validation
Translation results:
XML is designed to transmit and store data.
HTML is designed to display data.
XML validationsyntax
XML that has correct syntax is called "well-formed" XML.
XML that passes DTD validation is "legal" XML.
XML validationexample
<?xml version="1.0" encoding="ISO-8859-1"?> <note> <to>Tove</to> <from>Jani</from> <heading>Reminder</heading> <body>Don't forget me this weekend!</body> </note>