org.w3c.dom.Document.createElementNS
method

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

Description

Creates a namespace-aware element.

Parameters

Parameter | Description
--- | ---
`namespaceURI` | Namespace URI.
`qualifiedName` | Qualified element name.

Returns

New element.

Throws

- DOMException if the name is invalid.

Example

    element = document.createElementNS(null, "item")