(no version information, might be only in CVS)
DOMDocument->createElement() -- Create new element nodeThis function creates a new instance of class DOMElement. 本节点不会出现在文档中,除非是用例如 DOMNode->appendChild() 函数来插入的。
The tag name of the element.
The value of the element. By default, an empty element will be created. You can also set the value later with DOMElement->nodeValue.
DOMNode->appendChild() |
DOMDocument->createAttribute() |
DOMDocument->createAttributeNS() |
DOMDocument->createCDATASection() |
DOMDocument->createComment() |
DOMDocument->createDocumentFragment() |
DOMDocument->createElementNS() |
DOMDocument->createEntityReference() |
DOMDocument->createProcessingInstruction() |
DOMDocument->createTextNode() |