DomNode.asElement

DomElement * asElement() @nogc nothrow pure @safe return

The element / character data, or null if the node is something else

const(DomElement) * asElement() @nogc nothrow pure @safe const return

ditto