<?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:xf="http://www.w3.org/2002/xforms"
      xmlns:ev="http://www.w3.org/2001/xml-events"
      xmlns:xsd="http://www.w3.org/2001/XMLSchema"
>
<head>
	<title>Input</title>
	<style type="text/css">
	body { font-family: sans-serif; font-size: 20pt}
	label { display: inline-block; width: 8em; margin: 0 1em; text-align: right }
	.address {border: thin black solid; padding: 1em; margin: 1em}
	</style> 
	<model xmlns="http://www.w3.org/2002/xforms">
	   <instance><data xmlns=""><firstname/><secondname/><street/><postcode/><city/></data></instance>
	</model>
</head>
<body>
    <group  xmlns="http://www.w3.org/2002/xforms">
	<input incremental="true" ref="firstname"><label>First name:</label></input><h:br/>
	<input incremental="true" ref="secondname"><label>Second name:</label></input><h:br/>
	<input incremental="true" ref="street"><label>Street:</label></input><h:br/>
	<input incremental="true" ref="city"><label>City:</label></input><h:br/>
	<input incremental="true" ref="postcode"><label>Postcode:</label></input><h:br/>
	<div class="address">
	    <output value="concat(firstname, ' ', secondname)"/><h:br/>
	    <output ref="street"/><h:br/>
	    <output value="concat(city, ' ', postcode)"/>
	</div>
    </group>
</body>
</html>
