translated NSString+XML to Swift