code: public int getNodeByPosition(int position)
    {
      if (position > 0) {
        final int pos = isReverse() ? getLast() - position + 1
                                     : position;
        int node;
        while ((node = next()) != DTMAxisIterator.END) {
          if (pos == getPosition()) {
            return node;
          }
        }
      }
      return END;
    }
docs: Return the node at the given position.
  
  @param position The position
  @return The node at the given position.