<?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:xhtml="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">
  <head>
    <title>8.1.5.d mediatype attribute</title>
    <link rel="stylesheet" href="../../../driverPages/forms/TestSuite11.css" type="text/css"/>
    <xforms:model>
       <xforms:instance xmlns="">       
          <pic>
          	<image filename="calendar-picker-open.png"/>
          </pic>
       </xforms:instance>
       <xforms:bind id="image" nodeset="/pic/image/@filename" type="xsd:anyURI"/>
    </xforms:model>
  </head>
  <body>
    <xforms:group>
  	    <xforms:label class="title">8.1.5.d mediatype attribute</xforms:label>
  	</xforms:group>
	<xforms:group>
		<xforms:label>
		  You should see the "calendar-picker-open.png" image. 
		</xforms:label>
	</xforms:group>
   	<xforms:group>
		<xforms:output bind="image" mediatype="image/*">
			<xforms:label>Image : </xforms:label>
		</xforms:output>
	</xforms:group>
	
  </body>
</html>
