Method: IsoDoc::PresentationXMLConvert#xref

Defined in:
lib/isodoc/presentation_function/inline.rb

#xref(docxml) ⇒ Object



41
42
43
44
45
46
# File 'lib/isodoc/presentation_function/inline.rb', line 41

def xref(docxml)
  #docxml.xpath(ns("//display-text")).each { |f| f.replace(f.children) }
  docxml.xpath(ns("//fmt-xref")).each { |f| xref1(f) }
  docxml.xpath(ns("//fmt-xref//fmt-xref")).each { |f| f.replace(f.children) }
  docxml.xpath(ns("//fmt-xref//xref")).each { |f| f.replace(f.children) }
end