Update getView to handle DOM elements without getAttribute, e.g. SVGDocument