Match HTML/XML tags

In progress

Closes #5