]> git.sesse.net Git - xml-template/blob - ruby/attribute-empty.rb
Hand-merge from borked repository. Main changes are a Ruby version (with
[xml-template] / ruby / attribute-empty.rb
1 #! /usr/bin/ruby
2 require "xmltemplate"
3
4 doc = XMLTemplate.process_file("../xml/clone.xml", {
5         'color' => 'blue',
6         '#things' => []
7 });
8 print doc.to_s