Exemplo n.º 1
0
 public function doFinal($xml)
 {
     if (self::$finale === null) {
         self::$finale = $xml;
         self::$xml = $xml;
         header('Content-type: text/xml; charset=utf-8');
         echo preg_replace("/></", ">\n<", self::$xml->asXML());
         //exit();
     }
 }