Ios 解析都柏林核心数据

Ios 解析都柏林核心数据,ios,Ios,如何在iOS中解析都柏林核心数据?数据如下: dc:contributor Binder, Henry. dc:creator Crane, Stephen, 1871-1900. dc:date c1982 dc:description This stirring tale of action in the American Civil War captures the immediacies and exper

如何在iOS中解析都柏林核心数据?数据如下:

dc:contributor          Binder, Henry.
dc:creator          Crane, Stephen, 1871-1900.
dc:date         c1982
dc:description          This stirring tale of action in the American Civil War       captures the immediacies and experiences of actual battle and army life.
dc:format           ix, 173 p. ; 22 cm.
dc:identifier           0393013456
dc:identifier           9780393013450
dc:identifier           0380641135 (pbk.)
dc:identifier           9780380641130 (pbk.)
dc:language         eng
dc:publisher            Norton
dc:subject          Chancellorsville, Battle of, Chancellorsville, Va., 1863--Fiction.
dc:subject          Virginia--History--Civil War, 1861-1865--Fiction.
dc:title            The red badge of courage : an episode of the American Civil War
dc:type         War stories.
dc:type         Historical fiction.
dc:type         Text
oclcterms:recordCreationDate            811217
oclcterms:recordIdentifier           81022419
oclcterms:recordIdentifier          8114241

看起来您的数据结构有一个可预测的格式,即每行有一个清晰的标记,然后是一个类似于选项卡的空格

因此,如果您熟悉标记名,您肯定可以创建一个小程序来相应地使用每一行