<?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.a mediatype attribute for upload element (non-normative)</title>
        <xforms:model>
            <xforms:instance xmlns="">
                <mail>
                    <picture>
                        <attach xsi:type="xsd:base64Binary"/>
                        <name xsi:type="xsd:anyURI"/>
                        <type/>
                    </picture>
                </mail>
            </xforms:instance>
        </xforms:model>
        <link href="../../../driverPages/forms/TestSuite11.css" rel="stylesheet"/>
    </head>
    <body>
        <xforms:group>
            <xforms:label class="title">8.1.6.a mediatype attribute for upload element (non-normative)</xforms:label>
        </xforms:group>
        <xforms:group>
            <xforms:label>
              When you activate the Upload Image upload control your choice of files may be limited to those 
              that are the same media type as the ones in the mediatype attribute. The mediatype attribute 
              contains the value "image/jpeg image/png". 
  			</xforms:label>
        </xforms:group>
        <xforms:upload mediatype="image/jpeg image/png" ref="/mail/picture/attach">
            <xforms:label>Upload Image</xforms:label>
            <xforms:mediatype ref="@mediatype"/>
        </xforms:upload>
    </body>
</html>
