Method: IsoDoc::Xref#parse
- Defined in:
- lib/isodoc/xref.rb
#parse(docxml) ⇒ Object
extract names for all anchors, xref and label
60 61 62 63 64 65 66 67 68 |
# File 'lib/isodoc/xref.rb', line 60 def parse(docxml) @doctype = docxml.at(ns("//bibdata/ext/doctype"))&.text @seen = SeenAnchor.new(docxml) amend_preprocess(docxml) if @parse_settings.empty? initial_anchor_names(docxml) back_anchor_names(docxml) asset_anchor_names(docxml) @parse_settings = {} end |