public string Serialize()
{
string xml = "";
if (name != null) xml += "\r\n<name>" + SecurityElement.Escape(name) + "</name>";
if (firstName != null) xml += "\r\n<firstName>" + SecurityElement.Escape(firstName) + "</firstName>";
if (middleInitial != null) xml += "\r\n<middleInitial>" + SecurityElement.Escape(middleInitial) + "</middleInitial>";
if (lastName != null) xml += "\r\n<lastName>" + SecurityElement.Escape(lastName) + "</lastName>";
if (companyName != null) xml += "\r\n<companyName>" + SecurityElement.Escape(companyName) + "</companyName>";
if (addressLine1 != null) xml += "\r\n<addressLine1>" + SecurityElement.Escape(addressLine1) + "</addressLine1>";
if (addressLine2 != null) xml += "\r\n<addressLine2>" + SecurityElement.Escape(addressLine2) + "</addressLine2>";
if (addressLine3 != null) xml += "\r\n<addressLine3>" + SecurityElement.Escape(addressLine3) + "</addressLine3>";
if (city != null) xml += "\r\n<city>" + SecurityElement.Escape(city) + "</city>";
if (state != null) xml += "\r\n<state>" + SecurityElement.Escape(state) + "</state>";
if (zip != null) xml += "\r\n<zip>" + SecurityElement.Escape(zip) + "</zip>";
if (countrySpecified) xml += "\r\n<country>" + countryField + "</country>";
if (email != null) xml += "\r\n<email>" + SecurityElement.Escape(email) + "</email>";
if (phone != null) xml += "\r\n<phone>" + SecurityElement.Escape(phone) + "</phone>";
return xml;
}