Method: HTree::Node#generate_xml_output_code
- Defined in:
- lib/htree/gencode.rb
#generate_xml_output_code(outvar = 'out', contextvar = 'top_context') ⇒ Object
8 9 10 11 12 13 14 15 |
# File 'lib/htree/gencode.rb', line 8 def generate_xml_output_code(outvar='out', contextvar='top_context') namespaces = HTree::Context::DefaultNamespaces.dup namespaces.default = nil context = Context.new(namespaces) gen = HTree::GenCode.new(outvar, contextvar) output(gen, context) gen.finish end |