private addNewNotEmptyXmlElement ( DOMDocument $dom, DOMElement $node, string $name, string $value ) | ||
$dom | DOMDocument | xml document |
$node | DOMElement | where to add the new element |
$name | string | of the new element |
$value | string | of the new element |