Support template nodes with xmlns specified.
Allows templates to contain SVG.
Fixes #90.