title: Pulling Information from a Parsed XML File that's NOT in the same array but always the following
body: <p>I'm looking to pull the value below <code>RO_XV100</code> into my script. My problem is that it's not in the same array, it's always listed immediately after it so I don't know how to grab it. I would like to know if there is a way to look for the NEXT <code>parameters</code> tag and pull the value @value.</p>
  <p>Snip of what I'm Parsing.</p>
  <pre><code>               &lt;momentaryButton name=&quot;MomentaryPushButton7&quot;  description=&quot;Valve Force Toggle&quot; &gt;
               &lt;/momentaryButton&gt;
              &lt;parameters&gt;
                  &lt;parameter name=&quot;#1&quot; description=&quot;Valve Tag&quot; value=&quot;RO_XV100&quot;/&gt;
              &lt;/parameters&gt;
  </code></pre>
  <p>Here is a Snip of the  Perl.</p>
  <pre><code>  foreach my $title ($doc-&gt;findnodes('//momentaryButton')) {
      my $sec;
      my @securitylevels= ();
      my $button = $title-&gt;findvalue('@description');
      $sec = &quot;G&quot;;
      }
      print_latex($i,$button,&quot;Momentary Push Button&quot;,$sec,&quot;N\/A&quot;,&quot;N\/A&quot;);
      $i++;
    } 
  </code></pre>
  <p>Thanks for any help.
  I'm using:</p>
  <pre><code>use XML::LibXML;
  use XML::Parser; 
  </code></pre>