Skip to main content

schema vs DTD

1 reply [Last post]
mirceamarkus
Offline
Joined: 2008-05-09

For an product (i.e. won't be used only internally), what kind of validation mechanism should I use: schema or DTD?
Even though I there are things I cannot express in a DTD and also I understood that schema is the next thing when it comes to validation, I saw that the DTD only makes a xml valid [1].
[1]http://www.w3schools.com/Xml/xml_dtd.asp

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
mirceamarkus
Offline
Joined: 2008-05-09

any suggestions/opinions?