title: How do I find the number of elements in a <xs:list> using XSLT?
body: <p>I have an XML schema that contains the following type :</p>
  
  <pre><code>&lt;xs:simpleType name="valuelist"&gt;
    &lt;xs:list itemType="xs:double"/&gt;
  &lt;/xs:simpleType&gt;
  </code></pre>
  
  <p>A sample XML fragment would be:</p>
  
  <pre><code>&lt;values&gt;1 2 3.2 5.6&lt;/values&gt;
  </code></pre>
  
  <p>In an XSLT transform, how do I get the number of elements in the list?</p>
  
  <p>How do I iterate over the elements?</p>