# File rxml/xforms_transformer.rb, line 477
      def button(doc, url, label, options={}, &block)  
        @view_buffer << "\n<m:button"
        if options[:xstyle]
          @view_buffer << ' ' << options[:xstyle]
        else 
          @view_buffer << " height=\"1ex\""
        end         
        @view_buffer << '><m:label>' << label << '</m:label>'
    
        # If no action provided, use <xf:load> to load the url
        if block
          yield doc
        else
          @view_buffer << '<xf:load ev:event="DOMActivate" resource="' << url << '"/>'
        end
        @view_buffer << '</m:button>' 
      end