title: How to read XML child node values by using a loop in java
body: <p>Here is my xml code...</p>
  
  <pre><code>&lt;flow&gt;
      &lt;TaskID&gt;100&lt;/TaskID&gt;
      &lt;TaskID&gt;101&lt;/TaskID&gt;
      &lt;TaskID&gt;102&lt;/TaskID&gt;
      &lt;TaskID&gt;103&lt;/TaskID&gt;    
  &lt;/flow&gt;
  </code></pre>
  
  <p>I want to know how to get taskID values in a for loop in java. Please help me...</p>