src/Template/XMLTemplate.php
protected final function appendXMLTo(
       SimpleXMLElement $parent,
       string $child): SimpleXMLElement
   {
       return $this->appendTo(
           $parent,
           simplexml_load_string(str_replace("\n", "\n\t", $child)));
   }
protected final function appendXMLTo(
       SimpleXMLElement $parent,
       string $child): SimpleXMLElement
   {
       return $this->appendTo(
           $parent,
           simplexml_load_string(str_replace("\n", "\n\t", $child)));
   }
protected final function appendXMLTo ( SimpleXMLElement $ parent , string $ child ) : SimpleXMLElement { return $ this -> appendTo ( $ parent , simplexml_load_string ( str_replace ( "\n" , "\n\t" , $ child ) ) ) ; }
Append an xml string to a SimpleXmlElement

@param SimpleXMLElement $parent parent node
@param string $child child node to string
@return SimpleXMLElement parent
Append an xml string to a SimpleXmlElement