<?xml version="1.0" encoding="iso-8859-1"?>
<?xml-stylesheet href="../xsltforms/xsltforms.xsl" type="text/xsl"?>
<?xsltforms-options debug="no"?>
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://www.w3.org/1999/xhtml"
      xmlns:ev="http://www.w3.org/2001/xml-events"
      xmlns:xsd="http://www.w3.org/2001/XMLSchema"
>
<head>
	<title>Bank</title>
	<style type="text/css">
	  body { font-family: sans-serif}
	  label { display: inline-block; width: 8em; margin: 0 1em; text-align: right; }
	  .h {font-weight: bold}
	</style>
	<model xmlns="http://www.w3.org/2002/xforms">
	    <instance id="default">
		<data xmlns="">
		     <number>1234</number><name/><address/>
	    	</data>
            </instance>
	    <submission method="get"
		action="prefill.xml"
		id="prefill" replace="instance"/>
	    <submission method="put"
		action="prefill.xml"
		id="change" replace="none"/>
	</model>
</head>
<body>
    <group xmlns="http://www.w3.org/2002/xforms">
	<input ref="number"><label>Account Number</label></input>
	<submit submission="prefill"><label>Find</label></submit><br xmlns="http://www.w3.org/1999/xhtml"/>
	<input ref="name"><label>Name</label></input><br xmlns="http://www.w3.org/1999/xhtml"/>
	<textarea ref="address"><label>Address</label></textarea>
	<submit submission="change"><label>Submit</label></submit>
    </group>
</body>
</html>
