public NodeSetDTM(NodeList nodeList,XPathContext xctxt){
  super();
  m_manager=xctxt.getDTMManager();
  int n=nodeList.getLength();
  for (int i=0; i < n; i++) {
    Node node=nodeList.item(i);
    int handle=xctxt.getDTMHandleFromNode(node);
    addNode(handle);
  }
}

public NodeSetDTM ( NodeList nodeList , XPathContext xctxt ) { super ( ) ; m_manager = xctxt . getDTMManager ( ) ; int n = nodeList . getLength ( ) ; for ( int i = 0 ; i < n ; i ++ ) { Node node = nodeList . item ( i ) ; int handle = xctxt . getDTMHandleFromNode ( node ) ; addNode ( handle ) ; } }
create a nodesetdtm , and copy the members of the given dtmiterator into it .
