klyn.io.xml.dom.DomDocument.createElementNS
method

    public createElementNS(namespaceURI as String, qualifiedName as String) as Element throws DOMException:

Description

Creates a DOM parser element with an optional namespace.

Parameters

- namespaceURI Namespace URI, or null.
- qualifiedName Qualified XML element name.

Returns

New element owned by this document.

Throws

- DOMException if the qualified name is not a valid XML name.

Example

    document = DomDocument()
    root = document.createElementNS("urn:demo", "demo:root")