Manual do PHP
Anterior |  | Próxima

# DOMDocument->createElementNS

(no version information, might be only in CVS)

DOMDocument->createElementNS -- Create new element node with an associated namespace

## Description

object DomDocument->createElementNS ( string namespaceURI, string qualifiedName)

This function returns a new instance of class DOMElement. The tag name and prefix of the element is determined by the value of the passed parameter qualifiedName. The URI of the namespace is the value of the passed parameter namespaceURI. Este nó não será exibido no documento a não ser que ele seja inserido, por exemplo, com DOMNode->appendChild().

The return value is `FALSE` if an error occurred.

See also DOMNode->appendChild(), DOMDocument->createAttributeNS(), DOMDocument->createElement(), DOMDocument->createAttribute() and DOMDocument->createComment().

Anterior | Principal | Próxima
DOMDocument->createElement | Acima | DOMDocument->createEntityReference