<?xml-stylesheet type="text/xsl" href="/xforms-tests/xsltforms/xsltforms.xsl"?>
<html xmlns:my="http://commerce.example.com/payment" xmlns:txs="http://sourceforge.net/projects/txs" xmlns="http://www.w3.org/1999/xhtml" xmlns:req="http://www.agencexml.com/requests" xmlns:xforms="http://www.w3.org/2002/xforms" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <head>
    <title>8.1.6.b incremental attribute for upload element</title>
    <link rel="stylesheet" href="../../../driverPages/forms/TestSuite11.css" type="text/css"/>
    <xforms:model>
       <xforms:instance xmlns="">
          <mail>
          	<picture>
          		<attach xsi:type="xsd:base64Binary"/>
          		<name xsi:type="xsd:anyURI"/>
          		<type xsi:type="xsd:base64Binary"/>
          	</picture>
          </mail>
       </xforms:instance>
    </xforms:model>
  </head>
  <body>
    <xforms:group>
  	    <xforms:label class="title">8.1.6.b incremental attribute for upload element</xforms:label>
  	</xforms:group>
	<xforms:group>
		<xforms:label>
		  After activating the Upload control and selecting a file you must see an 
		  xforms-value-changed message. 
  		</xforms:label>
  	</xforms:group>
  	<xforms:group>
  		<xforms:upload ref="/mail/picture/attach" incremental="true">
   			<xforms:label>Upload File:</xforms:label>
   			<xforms:filename ref="/mail/picture/name"/>
   			<xforms:mediatype ref="/mail/picture/type"/>
   			<xforms:action ev:event="xforms-value-changed">
   				<xforms:message level="modal">xforms-value-changed</xforms:message>
   			</xforms:action>
   		</xforms:upload>
  	</xforms:group>
  </body>
</html>
