lib/isodoc/csand/metadata.rb in metanorma-csand-1.0.2 vs lib/isodoc/csand/metadata.rb in metanorma-csand-1.0.3
- old
+ new
@@ -9,20 +9,20 @@
super
set(:status, "XXX")
end
def title(isoxml, _out)
- main = isoxml&.at(ns("//title[@language='en']"))&.text
+ main = isoxml&.at(ns("//bibdata/title[@language='en']"))&.text
set(:doctitle, main)
end
def subtitle(_isoxml, _out)
nil
end
def author(isoxml, _out)
set(:tc, "XXXX")
- tc = isoxml.at(ns("//editorialgroup/committee"))
+ tc = isoxml.at(ns("//bibdata/editorialgroup/committee"))
set(:tc, tc.text) if tc
end
def docid(isoxml, _out)