DTD/XSD
-
Can anyone please tell me what is DTD/XSD ?? My client wants the DTD/XSD for creation of xml files. Can anyone please send me an example if youll have
-
Can anyone please tell me what is DTD/XSD ?? My client wants the DTD/XSD for creation of xml files. Can anyone please send me an example if youll have
DTDs and XSDs (Xml Schema) are files that specify the allowable structure of XML files. They define the entities and relationships represented in XML files. So that you can validate XML against them to know that your XML conforms to the rules of the DTD/XSD. DTDs are the old standard for doing this. XSDs are the new standard. Google XSD and you'll find lots of references. If you don't really want to learn XSD right this minute, or you just need an XSD spec immediately, there are tools out there that can help. XMLSpy will generate an XSD from XML if you have sack loads of cash. Skeleton Crew[^] can also produce an XSD for you. Just drop in some XML that has all your possible nodes/attributes, set your renderer to XSD, and build. The XSD that's generated will likey need a little work (changing the optional/required attributes where appropriate), but it will give you a good starting schema. But like I said, google XSD, W3 Schools has a good XSD reference to help you finish your spec out. Hope that helps.
Try code model generation tools at BoneSoft.com.