Hi, I try to use this parser for change a gpx file. The first line is : <?xml version="1.0" encoding="UTF-8"?>...other tag ... but after simple parse : $dom = new Dom; $dom->load($gpx); return $dom->outerHtml; $gpx is in text format the ...