Added support for namespaced tag and attribute names.