You should probably create XML Schema for your XML documents if any of the following apply:
Conversely, you should strongly consider sticking with validation by DTD only if all of the following apply:
Nodes may appear in your XML document in any order and number.
The data in your document’s nodes may be free-form, and need not be constrained.
You will be reading and writing
data to and from XML documents only using
XmlReader
, XmlWriter
,
XmlDocument
, XPathDocument
, and
the other built-in .NET XML types.
3.147.85.221