Method |
Description |
|
addAttribute ( DOMElement $target, DOMAttr $source ) |
Add an attribute to the target element node. |
|
addElement ( DOMNode $target, DOMElement $source ) |
Add an element node to the target (document or element) |
|
addNamespaceAttribute ( DOMElement $node, string | null $prefix, string $uri ) |
|
|
addNode ( DOMNode $target, DOMNode $source ) |
Add a node to the target element, just copies any child nodes
except elements. Element nodes are recreated with mapped/optimized
namespaces. |
|
canAddNamespaceToNode ( DOMNode $node, string | null $prefix, string $uri ) : boolean |
|
|
createElement ( DOMNode $target, string $prefix, string $name, string $uri ) : DOMElement |
|
|
getNodeDefinition ( DOMNode $node ) : array |
Get the node name definition (prefix, namespace, local name) for
the target node |
|