XForms Example

From http://www.w3schools.com (Copyright Refsnes Data)

# XForms Example

## Test It With Internet Explorer

You can test the example on this page using Internet Explorer 5 or later.

Just click on the link below the example.

## An XForms Example

Take a look at this document using XForms:

    <xforms>

    <model>
      <instance>
      <person>
        <fname/>
        <lname/>
      </person>
      </instance>
      <submission id="form1" method="get"
       action="submit.asp"/>
    </model>

    <input ref="fname">
    <label>First Name</label></input><br />

    <input ref="lname">
    <label>Last Name</label></input><br /><br />

    <submit submission="form1">
    <label>Submit</label></submit>

    </xforms>

The page will display pretty much like this:

First Name |
Last Name |

Try the example on your own computer

From http://www.w3schools.com (Copyright Refsnes Data)