diff options
author | Ralph Amissah <ralph@amissah.com> | 2018-06-20 11:42:14 -0400 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2019-04-10 15:14:15 -0400 |
commit | b86c91d6136476de3a35e0077db28caccacd816e (patch) | |
tree | 4aad808156bb045eadfc9191d593732832e5de2f /org/sdp.org | |
parent | naming is_of_ (is_ of_) (diff) |
doc object metainfo consolidation
Diffstat (limited to 'org/sdp.org')
-rw-r--r-- | org/sdp.org | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/org/sdp.org b/org/sdp.org index e5ed367..fe560e1 100644 --- a/org/sdp.org +++ b/org/sdp.org @@ -995,18 +995,18 @@ string[string] check = [ ]; foreach (k; doc_matters.xml.keys_seq.seg) { foreach (obj; doc_abstraction[k]) { - if (obj.typeinfo.is_of_part != "empty") { - if (!empty(obj.node.object_number)) { + if (obj.metainfo.is_of_part != "empty") { + if (!empty(obj.metainfo.object_number)) { if (k == "body") { - check["last_object_number_body"] = obj.node.object_number; + check["last_object_number_body"] = obj.metainfo.object_number; } - if (!(obj.node.object_number.empty)) { - check["last_object_number"] = obj.node.object_number; + if (!(obj.metainfo.object_number.empty)) { + check["last_object_number"] = obj.metainfo.object_number; } } if (k == "bookindex_seg") { - if (obj.misc.object_number_type == 2) { - check["last_object_number_book_index"] = obj.misc.object_number_book_index; + if (obj.metainfo.object_number_type == 2) { + check["last_object_number_book_index"] = obj.metainfo.object_number_book_index; } } } |