Abstract Syntax versus DTD, XML Schema
Analogies
- Constructors = Elements, Attributes = Attributes
- Types ? some of the parameter Entities, choices, substitutable elements (? type notion of XML Schema, corresponding to content model)
Differences/Difficulties
- Optional/List son notion
- EBNF description: content model sometimes too complex
? Loss of structure information