<div class="span12">
<h4>Andrew's:</h4>
<div class="well">
<div class="row-fluid">
<div class="span12">
<div class="well">
<pre class="prettyprint linenums">
<xsl:value-of select="count(//customers/customer)"/>
</pre>
<div>
This XPath query prints a number corresponding with the number of <i>customer</i> elements in the <i>customers entity</i>.
The XSLT function <code>count(a)</code> returns a numerical count of all nodes in the node-set argument <code>a</code>.
</div>
<br />
<div>
The example output would be:
<div class="row-fluid">
<div class="span4">
<div class="well">
<span><i>Total: </i>3</span>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>