org.w3c.dom.Document.importNode
method

    public importNode(importedNode as Node, deep as Boolean) as Node throws DOMException

Description

Imports a node into this document.

Parameters

- importedNode Node to import.
- deep True to import descendants.

Returns

Imported node.

Throws

- DOMException if the node cannot be imported.

Example

    copy = document.importNode(other.documentElement, true)