<?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">
    <head>
        <title>3.2.3.d single-node binding - bind attribute overrides ref and model</title>
        <link rel="stylesheet" href="../../../driverPages/forms/TestSuite11.css" type="text/css"/>
        <xforms:model id="myCar">
            <xforms:instance>
                <car xmlns="">
                    <make>Mercedes</make>
                    <year>2004</year>
                    <color>silver</color>
                    <hp>450</hp>
                </car>
            </xforms:instance>
            <xforms:bind id="bind_001" nodeset="/car/color"/>
        </xforms:model>
        <xforms:model id="notmyCar">
        	<xforms:instance>
        		<car xmlns="">
        			<make>Pinto</make>
        			<year>1975</year>
        			<color>onFire</color>
        			<hp>300</hp>
        		</car>
        	</xforms:instance>
        </xforms:model>
    </head>
    <body>
        <xforms:group>
            <xforms:label class="title">3.2.3.d single-node binding - bind attribute overrides ref and model</xforms:label>
        </xforms:group>
        <xforms:group>
            <xforms:label>
				<!-- The bind attribute points to a valid bind element;  -->
				You must see the value "silver": 
			</xforms:label>
        </xforms:group>
        <xforms:output bind="bind_001" ref="/car/make" model="notmyCar">
            <xforms:label/>
        </xforms:output>
    </body>
</html>
