src/Response/XML.php
protected function getContent()
    {
        $dom = new DOMDocument('1.0');
        $dom->loadXML($this->string);
        $dom->preserveWhiteSpace = false;
        $dom->formatOutput = true;

        return $dom->saveXML();
    }
protected function getContent()
    {
        $dom = new DOMDocument('1.0');
        $dom->loadXML($this->string);
        $dom->preserveWhiteSpace = false;
        $dom->formatOutput = true;

        return $dom->saveXML();
    }
protected function getContent ( ) { $ dom = new DOMDocument ( '1.0' ) ; $ dom -> loadXML ( $ this -> string ) ; $ dom -> preserveWhiteSpace = false ; $ dom -> formatOutput = true ; return $ dom -> saveXML ( ) ; }
Devuelve un xml formateado

@return string
Devuelve un xml formateado