dom/element: allow for specialized Element nodes