lib/mixml/tool.rb
def css(*selectors, &block)
            nodesets = []
            process do |xml|
                nodesets << xml.css(*selectors)
            end
            selection = Selection.new(nodesets)

            if block_given? then
                Docile.dsl_eval(selection, &block)
            end

            selection
        end
def css(*selectors, &block)
            nodesets = []
            process do |xml|
                nodesets << xml.css(*selectors)
            end
            selection = Selection.new(nodesets)

            if block_given? then
                Docile.dsl_eval(selection, &block)
            end

            selection
        end
Select nodes using CSS selectors and execute DSL commands for these nodes

 @param selectors [Array<String>] CSS selectors
 @yield Block to execute for each nodeset
 @return [void]