Document Structure Description
Document Structure Description, or DSD, is a schema language for XML, that is, a language for describing valid XML documents. It's an alternative to DTD or the W3C XML Schema. An example of DSD in its simplest form: This says that element named "foo" in the XML namespace " http://example.com " may have two attributes, named "first" and "second". A "foo" element may not have any character data. It must contain one subelement, named "bar", also in the " http://example.com " namespace. A "bar" element is not allowed any attributes, character data or subelements. One XML document that would be valid according to the above DSD would be:
Document Structure Description, or DSD, is a schema language for XML, that is, a language for describing valid XML documents. It's an alternative to DTD or the W3C XML Schema. An example of DSD in its simplest form: This says that element named "foo" in the XML namespace " http://example.com " may have two attributes, named "first" and "second". A "foo" element may not have any character data. It must contain one subelement, named "bar", also in the " http://example.com " namespace. A "bar" element is not allowed any attributes, character data or subelements. One XML document that would be valid according to the above DSD would be:
References
No reference rows published for this article.
Cite this article
MLA
"Document Structure Description." encyclopegia.org, 2022, https://encyclopegia.org/wiki/document-structure-description. Accessed 24 November 2026.
Chicago
"Document Structure Description." encyclopegia.org. Accessed November 24, 2026. https://encyclopegia.org/wiki/document-structure-description.
APA
encyclopegia.org. (2022). Document Structure Description. Retrieved November 24, 2026, from https://encyclopegia.org/wiki/document-structure-description
Accessed November 24, 2026 · CC BY-SA 4.0 · citation page · JSON