Manuál PHP | ||
---|---|---|
PÅ™edcházejÃcà | Dalšà |
DOMDocument->createElement()
(no version information, might be only in CVS)
DOMDocument->createElement() -- Create new element nodePopis
class DOMDocument {DOMElement createElement ( string name [, string value] )
}
This function creates a new instance of class DOMElement. Tento uzel se v dokumentu neobjevÃ, nebyl-li pÅ™idán napÅ™. funkcà DOMNode->appendChild().
Seznam parametrů
name
The tag name of the element.
value
The value of the element. By default, an empty element will be created. You can also set the value later with DOMElement->nodeValue.
PÅ™Ãklady
Viz také
DOMNode->appendChild() |
DOMDocument->createAttribute() |
DOMDocument->createAttributeNS() |
DOMDocument->createCDATASection() |
DOMDocument->createComment() |
DOMDocument->createDocumentFragment() |
DOMDocument->createElementNS() |
DOMDocument->createEntityReference() |
DOMDocument->createProcessingInstruction() |
DOMDocument->createTextNode() |
PÅ™edcházejÃcà | Domů | Dalšà |
DOMDocument->createDocumentFragment() | Nahoru |