Lexing/parsing of XML declaration tags.

This closes #12.