title: How to show the selected label instead of the value in an Orbeon field
body: <p>I would like to recuperate the label selected for databound dropdownlist (<code>control-4</code>) in a field. None of the following works:</p>
  
  <pre><code>xxf:itemset('control-4','json',true)/itemset/choices/item[@selected = 'true']/label
  
  
  xxf:itemset('control-4','xml',true)/itemset/choices/item[@selected = 'true']/label
  
  
  xxf:itemset('control-4','xml')//item[@selected = 'true']/label
  </code></pre>
  
  <p>Changing <code>@selected = true</code> to <code>@selected'selected'</code> didn't work either.</p>