<?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>g.1.d read-only and read-write pseudo-classes (non-normative)</title>
    <link rel="stylesheet" href="g1d.css" type="text/css"/>
    <xforms:model>
      <xforms:instance>
        <car xmlns="">
          <oilChange>true</oilChange>
          <tireRotation>not yet</tireRotation>
        </car>
      </xforms:instance>
      <xforms:bind id="oil" nodeset="/car/oilChange" readonly="true()"/>
      <xforms:bind id="tire" nodeset="/car/tireRotation" readonly="false()"/>
    </xforms:model>
  </head>
  <body>
  	<xforms:group>
  		<xforms:label class="title">g.1.d read-only and read-write pseudo-classes (non-normative)</xforms:label>
  	</xforms:group>
  	<xforms:group>
  		<xforms:label>
  		The first output must have a pink background, the second output 
  		must have an orange background.
  		</xforms:label>
  	</xforms:group>
	<xforms:output ref="/car/oilChange">
		<xforms:label>Oil Change (readonly=true) : </xforms:label>
	</xforms:output>

	<xforms:output ref="/car/tireRotation">
		<xforms:label>Tire Rotation (readonly=false) : </xforms:label>
	</xforms:output>

	

  </body>
</html>
