Skip to content

Instantly share code, notes, and snippets.

@mamund
Created June 8, 2011 18:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mamund/1015008 to your computer and use it in GitHub Desktop.
Save mamund/1015008 to your computer and use it in GitHub Desktop.
Is this a form or a template?
{
"queries" :
[
{
"href : "http://example.org/search",
"rel" : "search",
"prompt" : "Enter search string",
"data" :
[
{"name" : "search", "value" : ""}
]
}
]
}
<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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment