Skip to content

Commit

Permalink
bibdata namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
opoudjis committed Oct 30, 2018
1 parent e7b11d9 commit 3a0108c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion exe/metanorma
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ when :asciidoc

if options[:relaton]
xml = Nokogiri::XML(isodoc)
bibdata = xml.at("//xmlns:bibdata")
bibdata = xml.at("//bibdata") || xml.at("//xmlns:bibdata")
# require "byebug"; byebug
#docid = bibdata&.at("./xmlns:docidentifier")&.text || options[:filename]
#outname = docid.sub(/^\s+/, "").sub(/\s+$/, "").gsub(/\s+/, "-") + ".xml"
Expand Down

0 comments on commit 3a0108c

Please sign in to comment.