<?xml-stylesheet href="../forms/xsltforms/xsltforms.xsl" type="text/xsl"?>
<?xsltforms-options debug="no"?>
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://www.w3.org/1999/xhtml"
      xmlns:xf="http://www.w3.org/2002/xforms"
      xmlns:ev="http://www.w3.org/2001/xml-events"
      xmlns:xsd="http://www.w3.org/2001/XMLSchema"
>
<head>
   <title>Master/detail 1</title>

   <style type="text/css">
      body { font-family: sans-serif}
   </style> 

   <model xmlns="http://www.w3.org/2002/xforms">
      <instance id="todo" src="todo-list.xml"/>
      <instance id="admin">
	 <data xmlns="">
	    <selected>house</selected>
	 </data>
      </instance>
   </model>
</head>
<body>
   <group xmlns="http://www.w3.org/2002/xforms">
      <input incremental="true" ref="instance('admin')/selected">
	 <label>What</label>
      </input>
      <repeat nodeset="todo[contains(task, instance('admin')/selected)]">
	 <output ref="task"/>&#160;
	 <output ref="status"/>&#160;
	 <output ref="date"/>
      </repeat>
   </group>
</body>
</html>
