<?xml version="1.0" encoding="UTF-8"?>
<html 
    xmlns="http://www.w3.org/1999/xhtml"
    xmlns:ev="http://www.w3.org/2001/xml-events"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:xf="http://www.w3.org/2002/xforms"
    >

  <head>
    <title>attache</title>
    <xf:model>
      <xf:instance xmlns="">
        <paths>
          <inputData>
            <attach xsi:type="xsd:base64Binary"/>
            <name/>
            <type/>
          </inputData>
        </paths>
      </xf:instance>
      <xf:submission id="s01" method="put" action="errproc_req.xml" /> 
    </xf:model>
  </head>

  <body>
    
    <xf:group>
      <xf:label>Insert a file name (xforms are used): </xf:label> <br />
      
      <xf:upload ref="/paths/inputData/attach">
        <xf:label>Input file: </xf:label>
        <xf:filename ref="../name" />
        <xf:mediatype ref="../type" />
      </xf:upload>
      
    </xf:group>
    
    <xf:submit submission="s01">
      <xf:label>Save</xf:label>
    </xf:submit>
    
  </body>

</html>

