<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:xf="http://www.w3.org/2002/xforms" xmlns:ev="http://www.w3.org/2001/xml-events" xml:lang="en" lang="en">

	<head>
		<title>XHTML Test Document</title>
		<style type="text/css">
			body {
				font-family: Verdana, Arial, Helvetica, sans-serif;
				font-size: 8pt;
			}
			table {
				background-color: #ccc;
				border: 2px outset white;
			}
			td {
				margin: 2px;
				padding: 4px;
				background-color: #f8f8f8;
				border: 2px inset white;
			}
			span {
				color: red;
				font-weight: bold;
			}
			label {
				font-weight: normal;
				margin: 6px 0 2px 0;
			}
			::value {
				padding: 1px;
			}
			input {
				color: black;
				font-weight: normal;
			}
            textarea {
                height: 40px;
            }
		</style>
		<xf:model>
			<xf:instance>
              <inst-data xmlns="">
                <resp1></resp1>
                <resp2></resp2>
                <a1 ans="calculate='../price * ../quantity'">Correct!</a1>
                <a1 ans="constraint='../price * ../quantity'">Wrong</a1>
                <a1 ans="calculate='price * quantity'">Sorry</a1>
                <a1 ans="constraint='price * quantity'">Oops</a1>
                <a2 ans="XML Schema datatypes">No</a2>
                <a2 ans="HTML links">Try again</a2>
                <a2 ans="XPath nodes">Correct!</a2>
                <a2 ans="P3P datatypes">Sorry</a2>
              </inst-data>
			</xf:instance>
		</xf:model>
	</head>
	<body>
      <xf:select1 appearance="full" ref="resp1">
        <xf:label>Which statement correctly calculates price times quantity from a line item?</xf:label>
        <xf:itemset nodeset="/inst-data/a1">
          <xf:label ref="@ans"/>
          <xf:value ref="text()"/>
        </xf:itemset>
      </xf:select1>
      <xf:output ref="resp1"/>
      <xf:select1 appearance="full" ref="resp2">
        <xf:label>Model Item Properties are based on which of the following?</xf:label>
        <xf:itemset nodeset="/inst-data/a2">
          <xf:label ref="@ans"/>
          <xf:value ref="text()"/>
        </xf:itemset>
      </xf:select1>
      <xf:output ref="resp2"/>
	</body>
</html>