Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

14 lines (9 sloc) 0.286 kB
$LOAD_PATH.unshift(File.dirname(__FILE__) + '/../lib')
require 'onix'
File.open('output.xml', "w") do |output|
header = ONIX::Header.new
header.from_company = "Sample Company"
header.from_person = "James"
writer = ONIX::Writer.new(output, header)
writer.end_document
end
Jump to Line
Something went wrong with that request. Please try again.