Method: Slaw::ZA::Act::Remark#to_xml

Defined in:
lib/slaw/za/act_nodes.rb

#to_xml(b, idprefix) ⇒ Object



310
311
312
313
314
315
316
317
318
319
320
321
322
# File 'lib/slaw/za/act_nodes.rb', line 310

def to_xml(b, idprefix)
  b.remark(status: 'editorial') do |b|
    b << '['
    for e in content.elements
      if e.respond_to? :to_xml
        e.to_xml(b, idprefix)
      else
        b << e.text_value
      end
    end
    b << ']'
  end
end