A "Valid" XML document also conforms 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>abcd</note>
<from>welcome to my site</from>
<heading>Reminder</heading>
<body>Don't forget me this weekend!</body>
</note>
Don't forget me this weekend!
April 18, 2009
0 Valid XML Documents
Posted by raj on 5:10 AM
0 comments:
Post a Comment