private static KdbContext SwitchContext(KdbContext ctxCurrent, KdbContext ctxNew, XmlReader xr) { if(xr.IsEmptyElement) return ctxCurrent; return ctxNew; }