public string GetAxId(XClass xclass) { if (m_axId != 0) { return(m_axId.ToString()); } if (!m_xml.HasAttribute("axId")) { string nextAxId = xclass.AxNextId; m_xml.AddAttribute("axId", nextAxId); xclass.IncrementAxNextId(); } string s = m_xml.GetAttrValue("axId"); m_axId = Convert.ToInt32(s); return(s); }