title: how can an "OR" be performed on an xpath expression without having to join two xpaths with a "|" or using an xpath function?
body: <p>If I want to select /a/b1/c and /a/b2/c I can use one of the following:</p>
  
  <pre><code>  /a/*[local-name()='b1' or local-name()='b2']/c
    /a/b1/c | /a/b2/c
  </code></pre>
  
  <p>But I was wondering if there is a more elegant way to specify "b1 or b2" without having to retype almost the entire expression and without having to use the local-name function.</p>
  
  <p>Unfortunately, these expressions don't work:</p>
  
  <pre><code> /a/b1 or b2/c
   /a/[b1 or b2]/c
   /a/b1 | b2/c
   /a/[b1 | b2]/c
  </code></pre>