“What Are” and “How Relate”Attribute Grammars and XML?
Both are extensions of context-free grammars:
- Attribute grammars via semantic (evaluation) rules over attributes
- XML via (document-markup) tags, attribute DTDs, stylesheets, etc.
Will be compared on two exemplary levels:
- Decorated parse trees as attributed element trees
- XML markups for semantic rules