title: Getting value of child node from XML in java
body: <p>My xml file looks like this </p>
  
  <pre><code> &lt;InNetworkCostSharing&gt;
                  &lt;FamilyAnnualDeductibleAmount&gt;
                      &lt;Amount&gt;6000&lt;/Amount&gt;
                  &lt;/FamilyAnnualDeductibleAmount&gt;
                  &lt;IndividualAnnualDeductibleAmount&gt;
                      &lt;NotApplicable&gt;Not Applicable&lt;/NotApplicable&gt;
                  &lt;/IndividualAnnualDeductibleAmount&gt;
                  &lt;PCPCopayAmount&gt;
                      &lt;CoveredAmount&gt;0&lt;/CoveredAmount&gt;
                  &lt;/PCPCopayAmount&gt;
                  &lt;CoinsuranceRate&gt;
                      &lt;CoveredPercent&gt;0&lt;/CoveredPercent&gt;
                  &lt;/CoinsuranceRate&gt;
                  &lt;FamilyAnnualOOPLimitAmount&gt;
                      &lt;Amount&gt;6000&lt;/Amount&gt;
                  &lt;/FamilyAnnualOOPLimitAmount&gt;
                  &lt;IndividualAnnualOOPLimitAmount&gt;
                      &lt;NotApplicable&gt;Not Applicable&lt;/NotApplicable&gt;
                  &lt;/IndividualAnnualOOPLimitAmount&gt;
   &lt;/InNetworkCostSharing&gt;
  </code></pre>
  
  <p>I am trying to get Amount value from <code>&lt;FamilyAnnualDeductibleAmount&gt;</code> and also from <code>&lt;FamilyAnnualOOPLimitAmount&gt;</code>. How do i get those values in java?</p>