Contents

document()

Returns an empty document node.

Declaration

class func document() -> Any

Return Value

An empty document node—that is, an XMLDocument instance without a root element or XML-declaration information (version, encoding, standalone flag). Returns nil if the object couldn’t be created.

See Also

Creating and Initializing Node Objects