Clean Variable content
Status: Beta
Brought to you by:
jhsolorz
For each time you the use the parse method, the node attributes are not clean.
This cause that if the last node had attribute and you have textnode in the next node you will have wrong attributes for the new node.
Im my code i simple add an initialition before the making the parse:
function richParse(){
$this->iNodeAttributes=null;
return $this->parse();
}
while($this->richParse())
....