title: how to get inner xml tag values through java?
body: <p>how i can find the "abc" from this tag through JAVA code and SAX parser. </p>
  
  <pre><code>&lt;first name="abc"&gt;My Text&lt;first&gt;
  </code></pre>
  
  <p>for example i am using the java code given below to find "My Text" from the above tag. </p>
  
  <pre><code>NodeList firstNameList = firstPersonElement.getElementsByTagName("first");
  Element firstNameElement = (Element)firstNameList.item(0);
  String type = firstPersonElement.getTextContent();
  
  NodeList textFNList = firstNameElement.getChildNodes();
  System.out.println("First Name : " + 
         ((Node)textFNList.item(0)).getNodeValue().trim());
  </code></pre>
  
  <p>but i don't know how to find "abc" from <code>&lt;first name="abc"&gt;My Text&lt;first&gt;</code></p>
  
  <p>I searched by myself but i didn't find my exact solution. </p>