title: adding node to a nodelist
body: <p>my aim is to add nodes not at once to a NodeList but to add them in a loop in each iteration. i looked up the classes and methods for NodeList , but didnt find anything useful for it. is there anyway for doing this or should i use other interfaces?
  going to do something like below but the NodeList interface doesnt have the "add" method.then how can i add items?</p>
  
  <pre><code>     static NodeList tryToGetThePoint;
  
  
      while(true)
         {
          .
          .
          .
      if(!"script".equals(myNode.getParentNode().getNodeName()))
  {
  
  tryToGetThePoint.add=myNode;
  
  }
  </code></pre>