我正在尝试从object -c中的MediaWiki获取一个人的详细信息。我正在使用http://en.wikipedia.org/w/api.php?action=query&prop=revisions&rvprop=content&rvsection=0&titles=Albert_Einstein&format=xml
我得到的数据如下:
</i>$0 = 0x07562e60 <?xml version="1.0"?><api><query><normalized><n from="Albert_Einstein" to="Albert Einstein" /></normalized><pages><page pageid="736" ns="0" title="Albert Einstein"><revisions><rev contentformat="text/x-wiki" contentmodel="wikitext" xml:space="preserve">{{Redirect|Einstein}}
{{Good article}}
{{pp-semi|small=yes}}{{pp-move-indef}}
{{Infobox scientist
| name = Albert Einstein
| image = Einstein 1921 by F Schmutzer.jpg
| caption = Albert Einstein in 1921
| birth_date = {{Birth date|df=yes|1879|3|14}}
| birth_place = [[Ulm]], [[Kingdom of Württemberg]], [[German Empire]]
| death_date = {{Death date and age|df=yes|1955|4|18|1879|3|14}}
| death_place = {{nowrap|[[Princeton, New Jersey|Princeton]], [[New Jersey]], U.S.}}
| children = [[Lieserl Einstein|Lieserl]] (1902-1903?)<br />[[Hans Albert Einstein|Hans Albert]] (1904-1973)<br />[[Eduard Einstein|Eduard "Tete"]] (1910-1965)
| spouse = [[Mileva Marić]]&nbsp;(1903–1919)<br />{{nowrap|[[Elsa Löwenthal]]&nbsp;(1919–1936)}}
| residence = Germany, Italy, Switzerland, Austria, Belgium, United States
| citizenship = {{Plainlist|
</i>
现在我想在objective-c中得到这个人的生日。不知何故,我也可以设法得到birth_date。但我的问题是,是否有任何适当的解析可用于解析这些数据?