reimpl parser. added path-stack. xml-parser-loop containts the main loop to parse xml. for an example check example-tag-structure test and another test and example-classes.