Ultra-simple XML grammar
Semantic action to pop the name stack and compare a tag name The parsing fails if the tags do not nest correctly (See docs, the Semantic Actions wiki page)
Semantic action to flush the name stack
Semantic action to push a tag name on a stack
See Source File
Ultra-simple XML grammar