<% $template->set( foo => { action => './*[@process = "yes"]' } ); %><%= apply_templates() %>