<?xml version="1.0" encoding="iso-8859-1"?>
<?xml-stylesheet href="../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}
	  label { display: inline-block; width: 3em; margin: 0 1em }
          .xforms-repeat-item-selected { background: yellow}
	</style> 

	<model xmlns="http://www.w3.org/2002/xforms">
   		<instance id="todo" src="todo-list.xml"/>
		<instance id="admin">
		    <data xmlns="">
			<index>1</index>
		    </data>
		</instance>
	</model>
</head>
<body>
    <group xmlns="http://www.w3.org/2002/xforms">
	<group ref="todo[instance('admin')/index]">
	    <output ref="date"/>&#160;<!--nbsp-->
	    <output ref="status"/>&#160;
	    <output ref="task"/>
	</group>
    </group>
</body>
</html>
