lib/mixml/selection.rb
def write(template = nil)
            if not template.nil? then
                template = template.to_mixml_template
            end

            each_node do |node|
                if template.nil? then
                    node.write_xml_to($stdout)
                    puts
                else
                    puts template.evaluate(node)
                end
            end
        end
def write(template = nil)
            if not template.nil? then
                template = template.to_mixml_template
            end

            each_node do |node|
                if template.nil? then
                    node.write_xml_to($stdout)
                    puts
                else
                    puts template.evaluate(node)
                end
            end
        end
Print selected nodes to stdout

 @param template [Template::Base] Template to evaluate and print