             xmlAttributes += " \(attributeName)=\"\(attributeValue)\""
         }
         
-        xml += "<\(elementName)\(xmlAttributes)>\n"
+        xml += "<\(elementName)\(xmlAttributes)>"
     }
     
     func write(endElement elementName: String) {

    func writeElement(type: String, element: PropertyElement) {
        
        let uid = String(element.uid)
        write(startElement: type, attributes: [GLX.Attributes.id: uid] )
        writeAttributes(element)
        write(endElement: type)
        

    }
    
    func write(file url:URL) throws {
        let text = self.writeXML()
        try text.write(to: url, atomically: false, encoding: .utf8)
    }
}
