/**
  * Resets the object so it's able to take a new xml sting/file
  *
  * Constructing objects is slow.  If you can, reuse ones that you have used already
  * by using this reset() function.
  */
 function reset()
 {
     parent::reset();
     $this->properties['xmlFile'] = '';
     $this->parseStackIndex = 0;
     $this->parsedTextLocation = '';
     $this->parsInCData = 0;
     $this->nodeIndex = array();
     $this->nodeRoot = array();
     $this->nodeStack = array();
     $this->aLiterals = array();
     $this->_indexIsDirty = FALSE;
 }
 /**
  * Resets the object so it's able to take a new xml sting/file
  *
  * Constructing objects is slow.  If you can, reuse ones that you have used already
  * by using this reset() function.
  */
 function reset()
 {
     parent::reset();
     $this->properties['xmlFile'] = '';
     $this->parseStackIndex = 0;
     $this->parsedTextLocation = '';
     $this->parsInCData = 0;
     $this->nodeIndex = array();
     $this->nodeRoot = array();
     $this->nodeStack = array();
 }