support for textContent, setAttribute overrides if exists, added getAttribute