lib/mixml/selection.rb
def rename(template)
            template = template.to_mixml_template

            each_node do |node|
                value = template.evaluate(node)
                node.name = value
            end
        end
def rename(template)
            template = template.to_mixml_template

            each_node do |node|
                value = template.evaluate(node)
                node.name = value
            end
        end
Rename selected nodes with a template

 @param template [Template::Base] Template for new name