public XmlElement CreateXmlElement(XmlDocument xmldoc, string elementName)
{
XmlElement xmlnode = xmldoc.CreateElement(elementName);
xmlnode.SetAttribute("lang", Lang);
if (Plural)
xmlnode.SetAttribute("plural", XmlConvert.ToString(Plural));
if (!string.IsNullOrEmpty(Gender))
xmlnode.SetAttribute("gender", Gender);
if (!string.IsNullOrEmpty(Case))
xmlnode.SetAttribute("case", Case);
if (!string.IsNullOrEmpty(CaseOfModified))
xmlnode.SetAttribute("modified-case", CaseOfModified);
XmlText content = xmldoc.CreateTextNode(Text);
xmlnode.AppendChild(content);
return xmlnode;
}