public void OnVisitNewElement(string elemName) { if (elemName == "math") { return; } MathNode currNode = CurrentMathNode; CurrentMathNode = _nodeDefs.CreateMathNode(elemName); currNode.AppendChild(CurrentMathNode); }