public string GetOpenElements() { string s = string.Empty; for (int i = _depth; i > 0; i--) { string localName = _elementNodes[i].LocalName.GetString(); if (i != _depth) s += ", "; s += localName; } return s; }