#1143 Interfaced XmlFile to SWIG, fixed broken trunk