﻿<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet href="xsltforms/xsltforms.xsl" type="text/xsl"?>
<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>Entier</title>
		<style type="text/css">
			body { font-family: sans-serif}
			label { display: inline-block; width: 6em; margin: 0 1em }
		</style> 
		<xf:model id="m">
			<xf:instance>
				<donnees xmlns="">
					<nombre/>
				</donnees>
			</xf:instance>
			<xf:bind nodeset="nombre" type="xf:integer" />
		</xf:model>
	</head>
	<body>
		<xf:input incremental="true" ref="nombre"><xf:label>Nombre</xf:label>
			<xf:alert>Doit être un nombre</xf:alert>
		</xf:input>
	</body>
</html>
