I have used DTD several times in my document, but I never knew its significance. I have also tried to understand W3Schools tutorial of DTD. But I found it too theoretical.>
DTD is exactlly set of rules that the XML documents must follow . Check these rules with XML document if it is right get " valid " otherwise "not valid"