<?xml version="1.0"?>
<yep:description xmlns:ev="http://www.w3.org/2001/xml-events"
                 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="identityModel"
               schema="http://www.entrouvert.org/expression/schemas/User.xsd">
  <xforms:submission action="file://tmp/abracadabra-put.xml" method="put" id="submit"/>
 </xforms:model>

 <yep:component name="default">
  <xforms:group model="identityModel">
   <xforms:label yep:translatable="true">Identity</xforms:label>
   <xforms:group ref="yep:identifications">
    <xforms:label yep:translatable="true">Identifications</xforms:label>
    <xforms:repeat ref="yep:identification">
     <xforms:input ref="yep:localNameIdentifier">
      <xforms:label yep:translatable="true">Local Name Identifier</xforms:label>
     </xforms:input>
     <xforms:input ref="yep:peerNameIdentifier">
      <xforms:label yep:translatable="true">Peer Name Identifier</xforms:label>
     </xforms:input>
     <xforms:group>
      <xforms:label yep:translatable="true">Provider ID</xforms:label>
      <xforms:trigger>
       <xforms:label ref="yep:providerId"/>
       <xforms:load ev:event="DOMActivate" ref="yep:providerId" show="replace"/>
      </xforms:trigger>
     </xforms:group>
    </xforms:repeat>
   </xforms:group>
   <yep:componentWidget ref="yep:person">
    <xforms:label yep:translatable="true">Person</xforms:label>
   </yep:componentWidget>
   <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:input ref="yep:session">
    <xforms:label yep:translatable="true">Session</xforms:label>
   </xforms:input>
  </xforms:group>
 </yep:component>

 <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:description>
