Handle base tag regardless of xhtml namespace (without Tidy)