src/Xml/Writer.php
public function setElementValue($element, $value)
    {
        $node = $this->dom->createTextNode($value);
        $element->appendChild($node);
    }
public function setElementValue($element, $value)
    {
        $node = $this->dom->createTextNode($value);
        $element->appendChild($node);
    }
public function setElementValue ( $ element , $ value ) { $ node = $ this -> dom -> createTextNode ( $ value ) ; $ element -> appendChild ( $ node ) ; }
Append an element on to the xml document with a simple value.

@param mixed $element The dom instance to append the element to
@param mixed $value The value to set the new element to

@return void
Append an element on to the xml document with a simple value .