Parsing XML issue
I have been trying to parse an XML file and all is going well except for
one thing.
this is what my XML looks like:
<portfolio>
<item>
<image url="http://www.google.com" />
<title>my first title here.</title>
<desc>my first description here...</desc>
<date>15/07/2010</date>
<skills>skills 1, skills 2, skills 3</skills>
</item>
</portfolio>
I have been parsing: title, desc, date, and skills perfectly. The only
issue I am having is parsing the image url. I am using this simple parser:
https://github.com/robertmryan/Simple-XML-Parser
Anyway this is how I am setting up the element names to parse:
parser.elementNames = @[@"image", @"title", @"desc", @"date", @"skills"];
Anyway what do I feed into the element name for the image url based upon
the XML snippet I gave above?
Thanks!
No comments:
Post a Comment