Create PHxParser class only on OnParseDocument