]> git.sesse.net Git - xml-template/blob - ruby/attribute-empty.rb
Make the php5-swig XML_Template_process function mutating; fits better with the regul...
[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