DTDs and XML Schema documents
- Last Updated: July 25, 2014
- 1 minute read
- OpenEdge
- Version 13.0
- Documentation
DTDs and XML Schema documents
DTDs and XML Schema documents are rules that define the elements that can exist in a particular document or group of documents, and the relationships among the various elements. A DTD or XML Schema can be part of the content of an XML document or can be separate from it and referred to by the XML documents. Best practice calls for the DTDs and XML Schema documents to be separate from the XML content for resuse and maintainability. Here is an example of a DTD:
|
Here is an example of an XML Schema:
|