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

        element.onAllProperties{ (property) in
            
            let keyNodeID = String(property.keyNodeID)
            write(startElement: GLX.Elements.property, attributes: [GLX.Attributes.key: keyNodeID] )
            writeAttributeValue(property)
            write(endElement: GLX.Elements.property)
            

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