# File rxml/xforms_transformer.rb, line 102
      def input(doc, id, value, type, args={}) 
        # Create model instance only when there's no xpath
        if args[:xpath].nil?
          @model_buffer << "\n" << '<xf:instance id="' << id << '"><data xmlns=""><txt>' << value << "</txt></data></xf:instance>\n"     
        end 
        @view_buffer << "\n<m:input #{args[:xstyle]} height=\"1ex\" ref=" << "\"instance('" << id << "')/"
        if args[:xpath].nil?
          @view_buffer << "txt\"/>"
        else 
          @view_buffer << args[:xpath] << "\"/>"
        end 
      end