marinofaggiana 5 years ago
parent
commit
1c633595a7
1 changed files with 4 additions and 2 deletions
  1. 4 2
      iOSClient/Networking/NCCommunication.swift

+ 4 - 2
iOSClient/Networking/NCCommunication.swift

@@ -89,8 +89,10 @@ class NCCommunication: NSObject {
                 
                 if let data = response.data {
                     let xml = XML.parse(data)
-                    let numberOfHits = xml.ResultSet.Result.Hit.all?.count
-                    
+                    let elements = xml["d:multistatus", "d:response"]
+                    for element in elements {
+                        print(element["d:href"].text)
+                    }
                     print("success")
 
                 }