XmlStreamWriter.startElementNS

void startElementNS(string namespaceUri, string local, string prefix = "") @safe

Starts an element using a namespace URI and local name.

Parameters

namespaceUriNamespace URI (empty means no namespace).
localLocal name.
prefixOptional prefix. If namespaceUri is non-empty and prefix is empty, the default namespace is used.