 /* END Magento */  try{   $filename="nabavaexport";   $xml=$nabavanet->createNabavanetXMLfile($nabava->createXml(),$filename); if($xml==0){     echo "XML ".$filename.".xml generated!\n";   copy($filename.".xml", "../nabavanet/".$filename.".xml"); } else{     echo "XML ".$filename.".xml not generated\n"; }  } catch (PDOException $e) {     // detaljan ispis grešaka slanjem     // PDOException objekta preko varijable $e     // PDO objekta preko varijable $db     // PDOStatement objekta preko varijable $stmt     showPDOErrors($e, $db_read, $stmt_read);     showPDOErrors($e, $db_write, $stmt_write); }             ?>