Syntax, Semantics and the Connections between them
- A formal notation for a representation typical constitutes a language
- That language is usually constrained and partially defined by a syntax
- That syntax is itself represented in a language with a notation
- For XML itself, there is a BNF
- For an XML document type, there might be one or more of
- A DTD
- A W3C XML Schema
- A Relax NG schema
- A set of Schematron constraints
- . . .
- But a complete XML application needs two things: