Node.toString

string toString() const

The node as html (for an element: outerHTML)

void toString(scope void delegate(const(char)[]) sink) const

Write the node as html to a sink

void toString(W)(ref W writer) if (isOutputRange!(W, const(char)[]) && !is(W : void delegate(const(char)[]))) const

ditto