Styling based on instance data

Itwouldbeniceif you could use CSS to style the background of repeat
items yellow if they are "selected" in the data using some magical CSS
XPath selector:

<style type="text/css">
e/@selected))] { background-color: yellow; }

<repeat class="lines" nodeset="lines/line">
  <input ref="@selected">
    <label class="columnHeader">X</label>
  <output ref="date">
    <label class="columnHeader">Date</label>
  <output ref="name">
    <label class="columnHeader">Name</label>

Received on Thursday, 30 November 2006 23:37:31 UTC