 }
 
 public enum XMLSubscriptResult {
-
+    
     case null(String)           // means: null(error: String)
     case xml(XML, String)       // means: xml(xml: XML, path: String)
     case array([XML], String)   // means: xml(xmls: [XML], path: String)

    public var root:XML?
    public let data:Data
    
    var currentParent:XML?
    var currentElement:XML?
    var parseError:Swift.Error?
    
    public init(data: Data) {
        self.data = data

                             qualifiedName qName: String?,
                             attributes attributeDict: [String : String])
    {
        let element = XML(name: elementName, attributes: attributeDict)
        
        if self.root == nil {
            self.root = element
            self.currentElement = element
        } else {
            self.currentElement?.addChild(element)
            self.currentElement = element
        }
    }
    
    @objc public func parser(_ parser: XMLParser, foundCharacters string: String) {
        
        let newValue = string.trimmingCharacters(in: .whitespacesAndNewlines)
        guard !newValue.isEmpty else { return }
        
