Issue #15

When processing the HTML for external references, the NameSpaces set in
the html element was discarded, leading to DOM errors.