Class: RelatonIsoBib::IsoDocumentRelation

Inherits:
RelatonBib::DocumentRelation
  • Object
show all
Defined in:
lib/relaton_iso_bib/iso_document_relation.rb

Instance Method Summary collapse

Instance Method Details

#to_xml(builder) ⇒ Object

Parameters:

  • builder (Nokogiri::XML::Builder)


4
5
6
7
8
9
10
11
# File 'lib/relaton_iso_bib/iso_document_relation.rb', line 4

def to_xml(builder)
  builder.relation(type: type) do
    bibitem.to_xml(builder, {})
    bib_locality.each do |l|
      l.to_xml builder
    end
  end
end