title: How to get particular field name of XML file in JAVA?
body: <p>Hello i am new to STAX and I have xml file as an example. Like this</p>
  
  <pre><code>&lt;?xml version="1.0"?&gt;
  &lt;data&gt;
  &lt;name&gt;
  &lt;sensitive&gt;true&lt;/sensitive&gt;
      &lt;/name&gt;
  
  &lt;dob&gt;
  &lt;sensitive&gt;false&lt;/sensitive&gt;
  &lt;/dob&gt;
  
  &lt;email-id&gt;
  &lt;sensitive&gt;true&lt;/sensitive&gt;
  &lt;/email-id&gt;
  
  &lt;ssn&gt;       
  &lt;sensitive&gt;true&lt;/sensitive&gt;
  &lt;/ssn&gt;
  
  &lt;bankaccountnumber&gt;
  &lt;sensitive&gt;true&lt;/sensitive&gt;
  &lt;/bankaccountnumber&gt;
  
  &lt;licencenumber&gt;
  &lt;sensitive&gt;false&lt;/sensitive&gt;
  &lt;/licencenumber&gt;
  </code></pre>
  
  <p></p>
  
  <p>I want just feild name , whose sensitive value is true. In this example i want just Name,ssn, emailid and bankaccount number. So how can i do. Please anyone help me.</p>