开发者

Unable to parse self closing xml tag

I have a very unusual problem. I am using NSXMLParser to parse XML but it is not being able to parse self closing tag开发者_开发百科s! If the XML is something like "< media:something ....... / >", when I parse it and output the elementName in didStartElement: method, there's no output for the particular tag. All other tags which are not self closing are however being displayed. Any idea what is going on and what can be done to fix it?

Thanks in advance! :))


Is there a space between / and > ? Remove it to read as />

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜