--- db/prgsrc/dbxml.php 2008/02/09 10:40:59 1.2 +++ db/prgsrc/dbxml.php 2010/02/23 10:18:01 1.3 @@ -25,7 +25,7 @@ printTours($tournament[Id]); printQuestions($tournament[Id]); -$xw->endElement('tournament'); +$xw->endElement(); $xmlResult = $xw->outputMemory(true); $xmlResult = preg_replace('/\>\s*\\n<", $xmlResult); @@ -45,7 +45,7 @@ function printTours($tourId) { { $xw->writeElement($key, $value); } - $xw->endElement('tour'); + $xw->endElement(); } } @@ -63,7 +63,7 @@ function printQuestions ($tourId) { $xw->writeElement($key, $value); } - $xw->endElement('question'); + $xw->endElement(); } }