Write xml file OGC WMS Service compliant with MAtlab

Hi all. I'm working with the OGC WMS Service and need to write an xml readable by some gdal function like gdal info and gdal_translate. I have some xml example like the following:
Trying to open the two xml files with gdalinfo, the second give the error: "Your xml file not recognised as a supported file format."
Without the first line: "<?version="1.0" encoding="utf-8"?>" the xml became readable.
Can someone explain how write an xml such the first?
Thanks a lot for your help
Lorenzo

Answers (0)

Asked:

on 24 Apr 2015

Edited:

on 24 Apr 2015

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!