<?xml version="1.0" encoding="iso-8859-1"?>
<?xml-stylesheet href="xsltforms/xsltforms.xsl" type="text/xsl"?>
<html xmlns="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>Volume</title>
	<style type="text/css">
	body { font-family: sans-serif}
	label { display: inline-block; width: 4em; margin: 0 1em }
	</style> 
	<xf:model>
		<xf:instance>
			<donnees xmlns="">
				<longueur>2</longueur>
				<largeur>3</largeur>
				<hauteur>4</hauteur>
            </donnees>
	    </xf:instance>
	</xf:model>
</head>
<body>
    <xf:input ref="longueur"><xf:label>Longueur</xf:label></xf:input><br/>
    <xf:input ref="largeur"><xf:label>Largeur</xf:label></xf:input><br/>
    <xf:input ref="hauteur"><xf:label>Hauteur</xf:label></xf:input><br/>

    Volume total : <xf:output value="longueur * largeur * hauteur" />

</body>
</html>

