0

如何在 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
4

1 回答 1

0

看起来您的数据结构结构具有可预测的格式,即每一行都有一个清晰的标签,然后是一个类似制表符的空间。

因此,如果您熟悉标签名称,您绝对可以创建一个小程序来相应地使用每一行。

于 2015-06-28T08:54:05.560 回答