我有一个 XML 文件,我想在 Objective-C 中解析它,但找不到更好的方法......
<record xmlns="http://www.loc.gov/MARC21/slim">
<datafield ind1=" " ind2=" " tag="020">
<subfield code="z">1234567890</subfield>
</datafield>
<datafield ind1="1" ind2=" " tag="100">
<subfield code="a">Ashton-Good, Donna.</subfield>
</datafield>
<datafield ind1="1" ind2="0" tag="245">
<subfield code="a">Eazee skating</subfield>
<subfield code="h">[videorecording] :</subfield>
<subfield code="b">the basics of ice skating for beginners of all ages /</subfield>
<subfield code="c">Donna Ashton-Good.</subfield>
</datafield>
<datafield ind1="3" ind2=" " tag="246">
<subfield code="a">Easy skating</subfield>
</datafield>
<datafield ind1=" " ind2=" " tag="260">
<subfield code="a">[S.l.] :</subfield>
<subfield code="b">D. Ashton-Good,</subfield>
<subfield code="c">c1999.</subfield>
</datafield>
</record>
此 XML 包含需要解析以获取数据的标记和代码。请帮助我解析这个 XML。