title: XPath to select tags near (before and after) another element?
body: <p>It is possible to select all <code>br</code> tags before and after an <code>h3</code> element with XPath?</p>
  
  <p>This selects only the first <code>br</code> tag: <code>//h3/following-sibling::*[1][name()='br']</code></p>
  
  <p>Here is a code snippet, I would like to select the 2 <code>br</code> tags before and the 2 <code>br</code> tags after the <code>h3</code> tag:</p>
  
  <pre><code>&lt;br /&gt;22111 Hamburg&lt;br /&gt;(U- und Busbahnhof Billstedt)&lt;br /&gt;&lt;br /&gt;&lt;h3&gt;Wir treffen uns&lt;/h3&gt;&lt;br /&gt;&lt;br /&gt;um Erfahrungen auszutauschen...
  </code></pre>