Open krudos opened 9 years ago
when i have a empty element it doesnt add id as null or empty to dictionary < example / >
example
NSString xmlString = @"< ?xml version="1.0" encoding="UTF-8"? > < note > < to > Tove < /to > < example /> < body > Don't forget me this weekend! < /body > < /note >"; NSDictionary resultD = [[XMLDictionaryParser sharedInstance] dictionaryWithString:xmlString]; dictionary shold have a @"example" key with empty string
when i have a empty element it doesnt add id as null or empty to dictionary < example / >
example
NSString xmlString = @"< ?xml version="1.0" encoding="UTF-8"? > < note > < to > Tove < /to > < example /> < body > Don't forget me this weekend! < /body > < /note >"; NSDictionary resultD = [[XMLDictionaryParser sharedInstance] dictionaryWithString:xmlString]; dictionary shold have a @"example" key with empty string