title: How to select siblings (xpath syntax) with Perl's XML::Twig?
body: <p>I need to select the next node via <strong>next_sibling</strong> or <strong>first_elt</strong>. But I want to filter by node name (containing the string <strong>"TON"</strong>)</p>
  
  <pre><code>first_elt ('HILTON[@method]' or 'SHERATON[@method]');
  </code></pre>
  
  <p>or </p>
  
  <pre><code>next_sibling ('HILTON[@method]' or 'SHERATON[@method]');
  </code></pre>
  
  <p>or</p>
  
  <pre><code>next_sibling ('TON[@method]');
  </code></pre>
  
  <p>Example I tried (not working):</p>
  
  <pre><code>#!/usr/bin/perl -w
  use warnings;
  use XML::Twig;
  $t-&gt; parsefile ('file.xml');
  
  my $Y0=$t-&gt;first_elt('HILTON[@method]' or 'SHERATON[@method]');
  </code></pre>
  
  <p>it will just process for 'HILTON[@method]'</p>
  
  <pre><code>my $Y0=$t-&gt;first_elt('/*TON[@method]');
  </code></pre>
  
  <p>wrong navigation condition '/*TON[@method]' () at C:/strawberry/perl/site/lib/XML/Twig.pm line 3523</p>