Hi,
if you are working with xml files here is a nice fortran xml-parser: http://sourceforge.net/projects/xml-fortran/. It is quite usefull for small everday purposes.
A good feature is the capability to automatically generate the xml reading module. You only need to create a template of your input file.
For one you do not need to make use of mix programming and xml is a good alternetive to text input files. The latter is still used a lot in especially older companies
Jacques