title: XPath: Count true child nodes with different names?
body: <p>Is it possible to count the following TRUE nodes (with different names) with XPath in the XML below?</p>
  
  <pre><code>&lt;my:templateBase&gt;
    &lt;my:executive&gt;true&lt;/my:executive&gt;
    &lt;my:seniorManager&gt;false&lt;/my:seniorManager&gt;
    &lt;my:manager&gt;false&lt;/my:manager&gt;
    &lt;my:supervisor&gt;false&lt;/my:supervisor&gt;
    &lt;my:directReport&gt;false&lt;/my:directReport&gt;
  &lt;/my:templateBase&gt;
  </code></pre>
  
  <p>I can't seem to work out the XPATH, e.g. <code>count(templateBase/*[?=true()])</code>.</p>