May 6, 2009

0 Valid XML documents

A "Valid" XML document also confirms to a DTD.

A "Valid" XML document is a "Well Formed" XML document, which also conforms to the rules of a Document Type Definition (DTD)

<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE note SYSTEM "InternalNote.dtd">
<note>
<to>Rasik</to>
<from>Bapotra</from>
<heading>Reminder</heading>
<body>Don't forget me this weekend!</body>
</note>


0 comments:

Post a Comment

Blogger Themes

 
Powered by Blogger