<?xml version="1.0"?>
<yep:description xmlns:xforms="http://www.w3.org/2002/xforms"
                 xmlns:xi="http://www.w3.org/2003/XInclude"
                 xmlns:yep="http://www.entrouvert.org/namespaces/expression/0.0">
 <xforms:model id="personModel" schema="http://www.entrouvert.org/expression/schemas/Person.xsd">
  <xforms:submission action="file://tmp/abracadabra-put.xml" method="put" id="submit"/>
 </xforms:model>

 <yep:component name="default">
   <xforms:group model="personModel">
    <xforms:label yep:translatable="true">Person</xforms:label>
    <xforms:input ref="yep:fullName">
     <xforms:label yep:translatable="true">Nom complet</xforms:label>
    </xforms:input>
    <xforms:input ref="yep:email">
     <xforms:label yep:translatable="true">Courriel</xforms:label>
    </xforms:input>
    <xforms:select1 appearance="minimal" ref="yep:language">
     <xforms:label yep:translatable="true">Language</xforms:label>
     <xforms:item>
      <xforms:label yep:translatable="true">English</xforms:label>
      <xforms:value>en</xforms:value>
     </xforms:item>
     <xforms:item>
      <xforms:label yep:translatable="true">Français</xforms:label>
      <xforms:value>fr</xforms:value>
     </xforms:item>
    </xforms:select1>
    <xforms:select appearance="full" ref="yep:authorizations">
     <xforms:label yep:translatable="true">Caractéristiques</xforms:label>
     <xforms:item>
      <xforms:label yep:translatable="true">Habitant de la commune</xforms:label>
      <xforms:value>resident</xforms:value>
     </xforms:item>
     <xforms:item>
      <xforms:label yep:translatable="true">Employé de l'État Civil</xforms:label>
      <xforms:value>employee</xforms:value>
     </xforms:item>
    </xforms:select>
   </xforms:group>
 </yep:component>

 <yep:page name="edit" type="form">
  <yep:body>
   <xi:include xpointer="xmlns(xforms=http://www.w3.org/2002/xforms) xmlns(yep=http://www.entrouvert.org/namespaces/expression/0.0) xpointer(/yep:description/yep:component[@name = 'default']/xforms:group)"/>
  </yep:body>
  <yep:actionButtonsBar>
   <yep:actionButton>
    <xforms:label yep:translatable="true">Modify</xforms:label>
    <yep:action>submit</yep:action>
   </yep:actionButton>
  </yep:actionButtonsBar>
 </yep:page>

 <yep:body>
  <xi:include xpointer="xmlns(xforms=http://www.w3.org/2002/xforms) xmlns(yep=http://www.entrouvert.org/namespaces/expression/0.0) xpointer(/yep:description/yep:component[@name = 'default']/xforms:group)"/>
 </yep:body>
 <yep:actionButtonsBar>
  <yep:actionButton>
   <xforms:label yep:translatable="true">Edit</xforms:label>
   <yep:action>edit</yep:action>
  </yep:actionButton>
 </yep:actionButtonsBar>

</yep:description>
