lib/mixml/tool.rb
def with_nodes(selection)
            selection.nodesets.each do |nodeset|
                nodeset.each do |node|
                    yield node
                end
            end
        end
def with_nodes(selection)
            selection.nodesets.each do |nodeset|
                nodeset.each do |node|
                    yield node
                end
            end
        end
Execute block for each node

 @param selection [Selection] Selected nodes
 @yield Block to execute for each node
 @yieldparam node [Nokogiri::XML::Node] Current node