Use readAttribute directly on DOM node