e".</p>

 <p>There is also an optional <b>from</b> attribute, which is also a pattern. 
  The exact meaning of this depends on the level.</p>


  <p>The calculation is as follows:</p>

 <table>
 <tr><td valign=top><font SIZE="2">level=single</td><td><font SIZE="2"><ol>
 <li>If the current node matches the pattern, the counted node is the current node. Otherwise the
 counted node is the innermost ancestor of the current node that matches the pattern. If no ancestor
 matches the pattern, the resul