locked
Using XmlReader on HR-XML document RRS feed

  • Question

  • User-2012457684 posted

    I am trying to read an HR XML document.  It keeps throwing an error on this line

    Address = rdr.ReadElementContentAsString();

    The ReadElementContentAsString method is not supported on node type None. Line 152, position 25.

    It also does the same when I try to read the telphone number

    rdr.ReadToFollowing("SubscriberNumber");

    Here is the actual HR-XML document I am trying read

    <?xml version="1.0" encoding="UTF-8" ?>
    <HireAbilityXMLResults id="29126002631" rid="pansy Trellis.doc">
    	<Resume xml:lang="EN" xmlns="http://ns.hr-xml.org/2007-04-15" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://ns.hr-xml.org/2007-04-15 Resume.xsd">
    		<StructuredXMLResume>
    			<ContactInfo>
    				<PersonName>
    					<FormattedName>Pansy Trellis</FormattedName>
    					<GivenName>Pansy</GivenName>
    					<FamilyName>Trellis</FamilyName>
    				</PersonName>
    				<ContactMethod>
    					<PostalAddress>
    						<CountryCode>US</CountryCode>
    						<PostalCode>02210</PostalCode>
    						<Region>MA</Region>
    						<Municipality>Boston</Municipality>
    						<DeliveryAddress>
    							<AddressLine>12 Garden Lane</AddressLine>
    						</DeliveryAddress>
    					</PostalAddress>
    				</ContactMethod>
    				<ContactMethod>
    					<Use>personal</Use>
    					<Location>home</Location>
    					<WhenAvailable>unknown</WhenAvailable>
    					<Telephone>
    						<TelcomCountryCode>1</TelcomCountryCode>
    						<AreaCityCode>617</AreaCityCode>
    						<SubscriberNumber>555-1212</SubscriberNumber>
    					</Telephone>
    				</ContactMethod>
    				<ContactMethod>
    					<Use>business</Use>
    					<Location>office</Location>
    					<WhenAvailable>daytime</WhenAvailable>
    					<Telephone>
    						<TelcomCountryCode>1</TelcomCountryCode>
    						<AreaCityCode>617</AreaCityCode>
    						<SubscriberNumber>555-2121</SubscriberNumber>
    					</Telephone>
    				</ContactMethod>
    				<ContactMethod>
    					<Use>personal</Use>
    					<Location>onPerson</Location>
    					<WhenAvailable>anytime</WhenAvailable>
    					<Mobile> 
    						<TelcomCountryCode>1</TelcomCountryCode>
    						<AreaCityCode>617</AreaCityCode>
    						<SubscriberNumber>555-2211</SubscriberNumber>
    					</Mobile>
    				</ContactMethod>
    				<ContactMethod>
    					<InternetEmailAddress>pansytrellis@msn.com</InternetEmailAddress>
    				</ContactMethod>
    				<ContactMethod>
    					<InternetWebAddress>www.greenthumb.com</InternetWebAddress>
    				</ContactMethod>
    			</ContactInfo>
    			<EmploymentHistory>
    				<EmployerOrg>
    					<EmployerOrgName>Knight Communications</EmployerOrgName>
    					<PositionHistory>
    						<Title>EJB Developer</Title>
    						<OrgInfo>
    							<PositionLocation> 
    								<Region>VA</Region>
    								<Municipality>Vienna</Municipality>
    							</PositionLocation>
    						</OrgInfo>
    						<Description>Web/e-commerce applications Digital Interactive TV As a member of the project team I designed and coded some of the Framework classes used in the Data Driven Menu.</Description>
    						<StartDate> 
    							<AnyDate>2003-09</AnyDate>
    						</StartDate>
    						<EndDate> 
    							<AnyDate>2009-02</AnyDate>
    						</EndDate>
    					</PositionHistory>
    				</EmployerOrg>
    				<EmployerOrg>
    					<EmployerOrgName>eInteractive, Inc.</EmployerOrgName>
    					<PositionHistory>
    						<Title>Java Consultant/J2EE Developer</Title>
    						<OrgInfo>
    							<PositionLocation>
    								<Region>VA</Region>
    								<Municipality>Falls Church</Municipality>
    							</PositionLocation>
    						</OrgInfo>
    						<Description>This project was carried out on the supplier's site (I was contracted by DHL for a consultant/developer role as part of the supplier's team) to work on an n-tier Interactive Web Application.</Description>
    						<StartDate> 
    							<AnyDate>2002-11</AnyDate>
    						</StartDate>
    						<EndDate> 
    							<AnyDate>2003-07</AnyDate>
    						</EndDate>
    					</PositionHistory>
    				</EmployerOrg>
    				<EmployerOrg>
    					<EmployerOrgName>Galaxy Systems</EmployerOrgName>
    					<PositionHistory>
    						<Title>J2EE Application Architect</Title>
    						<OrgInfo>
    							<PositionLocation> 
    								<Region>D.C</Region>
    								<Municipality>Washington</Municipality>
    							</PositionLocation>
    						</OrgInfo>
    						<Description>Architectural work carried out for a major ISP to provide an Internet Self-Care application project.</Description>
    						<StartDate> 
    							<AnyDate>2002-08</AnyDate>
    						</StartDate>
    						<EndDate> 
    							<AnyDate>2001-10</AnyDate>
    						</EndDate>
    						</PositionHistory>
    					</EmployerOrg>
    			</EmploymentHistory>
    			<EducationHistory>
    				<SchoolOrInstitution schoolType="university">
    					<School>
    						<SchoolName>Harvard University</SchoolName>
    					</School>
    					<Degree degreeType="masters">
    						<DegreeName>Masters</DegreeName>
    						<DegreeDate>
    							<AnyDate>2002</AnyDate>
    						</DegreeDate>
    						<DegreeMajor>Computer Science</DegreeMajor>
    					</Degree>
    				</SchoolOrInstitution>
    				<SchoolOrInstitution schoolType="university">
    					<School>
    						<SchoolName>Harvard University</SchoolName>
    					</School>
    					<Degree degreeType="bachelors">
    						<DegreeName>Bachelors</DegreeName>
    						<DegreeDate>
    							<AnyDate>2000</AnyDate>
    						</DegreeDate>
    						<DegreeMajor>Computer Science</DegreeMajor>
    					</Degree>
    				</SchoolOrInstitution>
    			</EducationHistory>
    		</StructuredXMLResume>
    	</Resume>
    	<processingErrors>
    		<Error id="29126002631">
    			<ErrorCode /> 
    			<ErrorMessage /> 
    		</Error>
    	</processingErrors>
    </HireAbilityXMLResults>

     here is the code i have in a console app trying to read it 

    public static void Main()
    {
    
    	string Address = "";
    	string City = "";
    	string State = "";
    	string Zip = "";
    	string Telephone = "";
    	string PhoneType = "";
    
    	XmlReaderSettings settings = new XmlReaderSettings();
    	settings.IgnoreWhitespace = true;
    	using (XmlReader rdr = XmlReader.Create("X:\\DotNet Projects\\ConsoleApp1\\ConsoleApp1\\sample.xml",settings))
    	{
    		rdr.Read();
    		rdr.MoveToContent();
    		if (rdr.ReadToFollowing("StructuredXMLResume"))
    		{
    			rdr.ReadToFollowing("ContactMethod");
    			do
    			{
    				if (rdr.ReadToFollowing("PostalAddress"))
    				{
    					rdr.ReadToFollowing("PostalCode");
    					Zip = rdr.ReadElementContentAsString();
    					rdr.ReadToFollowing("Region");
    					State = rdr.ReadElementContentAsString();
    					rdr.ReadToFollowing("Municipality");
    					City = rdr.ReadElementContentAsString();
    					rdr.ReadToFollowing("DeliveryAddress");
    					rdr.ReadToFollowing("AddressLine");
    					Address = rdr.ReadElementContentAsString();
    					 
    					Console.WriteLine("Address: " + Address);
    					Console.WriteLine("City: " + City);
    					Console.WriteLine("State: " + State);
    					Console.WriteLine("Zip: " + Zip);
    					Console.WriteLine("-----");
    					
    				}
    				rdr.ReadToFollowing("Location");
    				//if (rdr.ReadToFollowing("Location"))
    				//{
    					Console.WriteLine("In telphone Node");
    					//if (rdr.MoveToContent() == XmlNodeType.Element && rdr.Name == "Location")
    					//{
    						switch (rdr.ReadString())
    						{
    							case "onPerson":
    								PhoneType = "Cell";
    								break;
    							default:
    								PhoneType = "Home";
    								break;
    						}
    				// }
    				//}
    				rdr.ReadToFollowing("Telephone");
    			   
    				//if (rdr.ReadToFollowing("Telephone"))
    				//{
    					rdr.ReadToFollowing("FormattedNumber");
    					Telephone = rdr.ReadElementContentAsString();
    				//}
    			 
    				Console.WriteLine("Telephone: " + Telephone);
    				Console.WriteLine("PhoneType: " + PhoneType);
    				Console.WriteLine("-----");
    				 
    
    
    			} while (rdr.ReadToFollowing("ContactMethod"));
    
    			 
    			Console.WriteLine("");
    		}
    
    	}
    }

    By the way Line 152 is the closing tag of the document

    Tuesday, September 22, 2020 10:49 PM

All replies

  • User475983607 posted

    The .NET Framework comes with rich XML tools.  You really should take the time to learn XML serialization and the XML tools that are available. 

    First, copy the XML then from the Visual Studio editor click Edit -> Paste Special -> Paste XML as Classes.  This creates C# classes that you can populate with the XML file.

    From there the code is very simple.

        class Program
        {
            static string path = @"C:\Demo\ConsoleApp1\xml\HireAbilityXMLResults.xml";
            static async Task Main (string[] args)
            {
                // Construct an instance of the XmlSerializer with the type
                // of object that is being deserialized.
                var mySerializer = new XmlSerializer(typeof(HireAbilityXMLResults));
                // To read the file, create a FileStream.
                var myFileStream = new FileStream(path, FileMode.Open);
                // Call the Deserialize method and cast to the object type.
                var myObject = (HireAbilityXMLResults)mySerializer.Deserialize(myFileStream);
    
                Console.WriteLine(myObject.id);
                Console.WriteLine(myObject.Resume.StructuredXMLResume.ContactInfo.PersonName.GivenName);
            }
        }

    Reference documentation.

    https://docs.microsoft.com/en-us/dotnet/standard/serialization/how-to-deserialize-an-object

    Tuesday, September 22, 2020 11:30 PM
  • User-2012457684 posted

    I have done so but when it gets to the Deserialize line it throws this error

    System.InvalidOperationException
      HResult=0x80131509
      Message=There is an error in XML document (3, 2).
      Source=System.Xml
      StackTrace:
       at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle, XmlDeserializationEvents events)
       at System.Xml.Serialization.XmlSerializer.Deserialize(Stream stream)
       at ConsoleApp1.Sample.Main() in X:\DotNet Projects\ConsoleApp1\ConsoleApp1\Program.cs:line 42
    
    Inner Exception 1:
    InvalidOperationException: <Results xmlns=''> was not expected.
    

    I don't understand what it is telling me.   

    plus in the Error list i am seeing this 

    Missing schema location. The 'schemaLocation' attribute must contain pairs of strings separated by spaces where the first string in each pair is a namespace URI and the second string is the location of a schema.

    Is this something I should contact the vendor HireAbility on?

    Also I noticed that when I tried to get the contact method information there is no more properties after ContactMethod

     
     There should be PostalAddress, Telephone, Mobile, Fax and pager properties from there and then each of those should have properties.

    Here are the classes created by Visual Studio

    using System;
    
    
    // NOTE: Generated code may require at least .NET Framework 4.5 or .NET Core/Standard 2.0.
    /// <remarks/>
    [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)]
    [System.Xml.Serialization.XmlRootAttribute(Namespace = "", IsNullable = false)]
    public partial class Results
    {
    
        private ResultsHireAbilityXMLResults hireAbilityXMLResultsField;
    
        /// <remarks/>
        public ResultsHireAbilityXMLResults HireAbilityXMLResults
        {
            get
            {
                return this.hireAbilityXMLResultsField;
            }
            set
            {
                this.hireAbilityXMLResultsField = value;
            }
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)]
    public partial class ResultsHireAbilityXMLResults
    {
    
        private Resume resumeField;
    
        private ResultsHireAbilityXMLResultsProcessingErrors processingErrorsField;
    
        private ulong idField;
    
        private string usageLimitTypeField;
    
        private ushort usageLimitField;
    
        private byte currentUsageField;
    
        private ushort remainingUsageField;
    
        private string accountValidThroughField;
    
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(Namespace = "http://ns.hr-xml.org/2007-04-15")]
        public Resume Resume
        {
            get
            {
                return this.resumeField;
            }
            set
            {
                this.resumeField = value;
            }
        }
    
        /// <remarks/>
        public ResultsHireAbilityXMLResultsProcessingErrors processingErrors
        {
            get
            {
                return this.processingErrorsField;
            }
            set
            {
                this.processingErrorsField = value;
            }
        }
    
        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute()]
        public ulong id
        {
            get
            {
                return this.idField;
            }
            set
            {
                this.idField = value;
            }
        }
    
        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute()]
        public string usageLimitType
        {
            get
            {
                return this.usageLimitTypeField;
            }
            set
            {
                this.usageLimitTypeField = value;
            }
        }
    
        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute()]
        public ushort usageLimit
        {
            get
            {
                return this.usageLimitField;
            }
            set
            {
                this.usageLimitField = value;
            }
        }
    
        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute()]
        public byte currentUsage
        {
            get
            {
                return this.currentUsageField;
            }
            set
            {
                this.currentUsageField = value;
            }
        }
    
        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute()]
        public ushort remainingUsage
        {
            get
            {
                return this.remainingUsageField;
            }
            set
            {
                this.remainingUsageField = value;
            }
        }
    
        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute()]
        public string accountValidThrough
        {
            get
            {
                return this.accountValidThroughField;
            }
            set
            {
                this.accountValidThroughField = value;
            }
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true, Namespace = "http://ns.hr-xml.org/2007-04-15")]
    [System.Xml.Serialization.XmlRootAttribute(Namespace = "http://ns.hr-xml.org/2007-04-15", IsNullable = false)]
    public partial class Resume
    {
    
        private ResumeResumeId resumeIdField;
    
        private ResumeStructuredXMLResume structuredXMLResumeField;
    
        private string langField;
    
        /// <remarks/>
        public ResumeResumeId ResumeId
        {
            get
            {
                return this.resumeIdField;
            }
            set
            {
                this.resumeIdField = value;
            }
        }
    
        /// <remarks/>
        public ResumeStructuredXMLResume StructuredXMLResume
        {
            get
            {
                return this.structuredXMLResumeField;
            }
            set
            {
                this.structuredXMLResumeField = value;
            }
        }
    
        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute(Form = System.Xml.Schema.XmlSchemaForm.Qualified, Namespace = "http://www.w3.org/XML/1998/namespace")]
        public string lang
        {
            get
            {
                return this.langField;
            }
            set
            {
                this.langField = value;
            }
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true, Namespace = "http://ns.hr-xml.org/2007-04-15")]
    public partial class ResumeResumeId
    {
    
        private object idValueField;
    
        /// <remarks/>
        public object IdValue
        {
            get
            {
                return this.idValueField;
            }
            set
            {
                this.idValueField = value;
            }
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true, Namespace = "http://ns.hr-xml.org/2007-04-15")]
    public partial class ResumeStructuredXMLResume
    {
    
        private ResumeStructuredXMLResumeContactInfo contactInfoField;
    
        private object executiveSummaryField;
    
        private object objectiveField;
    
        private ResumeStructuredXMLResumeEmploymentHistory employmentHistoryField;
    
        private ResumeStructuredXMLResumeEducationHistory educationHistoryField;
    
        private ResumeStructuredXMLResumeLicensesAndCertifications licensesAndCertificationsField;
    
        private ResumeStructuredXMLResumeMilitaryHistory militaryHistoryField;
    
        private ResumeStructuredXMLResumeQualifications qualificationsField;
    
        private ResumeStructuredXMLResumeAchievements achievementsField;
    
        private ResumeStructuredXMLResumeAssociations associationsField;
    
        private ResumeStructuredXMLResumeReferences referencesField;
    
        private ResumeStructuredXMLResumeSecurityCredentials securityCredentialsField;
    
        private ResumeStructuredXMLResumeResumeAdditionalItems resumeAdditionalItemsField;
    
        private ResumeStructuredXMLResumePersonDescriptors personDescriptorsField;
    
        /// <remarks/>
        public ResumeStructuredXMLResumeContactInfo ContactInfo
        {
            get
            {
                return this.contactInfoField;
            }
            set
            {
                this.contactInfoField = value;
            }
        }
    
        /// <remarks/>
        public object ExecutiveSummary
        {
            get
            {
                return this.executiveSummaryField;
            }
            set
            {
                this.executiveSummaryField = value;
            }
        }
    
        /// <remarks/>
        public object Objective
        {
            get
            {
                return this.objectiveField;
            }
            set
            {
                this.objectiveField = value;
            }
        }
    
        /// <remarks/>
        public ResumeStructuredXMLResumeEmploymentHistory EmploymentHistory
        {
            get
            {
                return this.employmentHistoryField;
            }
            set
            {
                this.employmentHistoryField = value;
            }
        }
    
        /// <remarks/>
        public ResumeStructuredXMLResumeEducationHistory EducationHistory
        {
            get
            {
                return this.educationHistoryField;
            }
            set
            {
                this.educationHistoryField = value;
            }
        }
    
        /// <remarks/>
        public ResumeStructuredXMLResumeLicensesAndCertifications LicensesAndCertifications
        {
            get
            {
                return this.licensesAndCertificationsField;
            }
            set
            {
                this.licensesAndCertificationsField = value;
            }
        }
    
        /// <remarks/>
        public ResumeStructuredXMLResumeMilitaryHistory MilitaryHistory
        {
            get
            {
                return this.militaryHistoryField;
            }
            set
            {
                this.militaryHistoryField = value;
            }
        }
    
        /// <remarks/>
        public ResumeStructuredXMLResumeQualifications Qualifications
        {
            get
            {
                return this.qualificationsField;
            }
            set
            {
                this.qualificationsField = value;
            }
        }
    
        /// <remarks/>
        public ResumeStructuredXMLResumeAchievements Achievements
        {
            get
            {
                return this.achievementsField;
            }
            set
            {
                this.achievementsField = value;
            }
        }
    
        /// <remarks/>
        public ResumeStructuredXMLResumeAssociations Associations
        {
            get
            {
                return this.associationsField;
            }
            set
            {
                this.associationsField = value;
            }
        }
    
        /// <remarks/>
        public ResumeStructuredXMLResumeReferences References
        {
            get
            {
                return this.referencesField;
            }
            set
            {
                this.referencesField = value;
            }
        }
    
        /// <remarks/>
        public ResumeStructuredXMLResumeSecurityCredentials SecurityCredentials
        {
            get
            {
                return this.securityCredentialsField;
            }
            set
            {
                this.securityCredentialsField = value;
            }
        }
    
        /// <remarks/>
        public ResumeStructuredXMLResumeResumeAdditionalItems ResumeAdditionalItems
        {
            get
            {
                return this.resumeAdditionalItemsField;
            }
            set
            {
                this.resumeAdditionalItemsField = value;
            }
        }
    
        /// <remarks/>
        public ResumeStructuredXMLResumePersonDescriptors PersonDescriptors
        {
            get
            {
                return this.personDescriptorsField;
            }
            set
            {
                this.personDescriptorsField = value;
            }
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true, Namespace = "http://ns.hr-xml.org/2007-04-15")]
    public partial class ResumeStructuredXMLResumeContactInfo
    {
    
        private ResumeStructuredXMLResumeContactInfoPersonName personNameField;
    
        private ResumeStructuredXMLResumeContactInfoContactMethod[] contactMethodField;
    
        /// <remarks/>
        public ResumeStructuredXMLResumeContactInfoPersonName PersonName
        {
            get
            {
                return this.personNameField;
            }
            set
            {
                this.personNameField = value;
            }
        }
    
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute("ContactMethod")]
        public ResumeStructuredXMLResumeContactInfoContactMethod[] ContactMethod
        {
            get
            {
                return this.contactMethodField;
            }
            set
            {
                this.contactMethodField = value;
            }
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true, Namespace = "http://ns.hr-xml.org/2007-04-15")]
    public partial class ResumeStructuredXMLResumeContactInfoPersonName
    {
    
        private object formattedNameField;
    
        private object givenNameField;
    
        private object preferredGivenNameField;
    
        private object middleNameField;
    
        private object familyNameField;
    
        private ResumeStructuredXMLResumeContactInfoPersonNameAffix affixField;
    
        /// <remarks/>
        public object FormattedName
        {
            get
            {
                return this.formattedNameField;
            }
            set
            {
                this.formattedNameField = value;
            }
        }
    
        /// <remarks/>
        public object GivenName
        {
            get
            {
                return this.givenNameField;
            }
            set
            {
                this.givenNameField = value;
            }
        }
    
        /// <remarks/>
        public object PreferredGivenName
        {
            get
            {
                return this.preferredGivenNameField;
            }
            set
            {
                this.preferredGivenNameField = value;
            }
        }
    
        /// <remarks/>
        public object MiddleName
        {
            get
            {
                return this.middleNameField;
            }
            set
            {
                this.middleNameField = value;
            }
        }
    
        /// <remarks/>
        public object FamilyName
        {
            get
            {
                return this.familyNameField;
            }
            set
            {
                this.familyNameField = value;
            }
        }
    
        /// <remarks/>
        public ResumeStructuredXMLResumeContactInfoPersonNameAffix Affix
        {
            get
            {
                return this.affixField;
            }
            set
            {
                this.affixField = value;
            }
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true, Namespace = "http://ns.hr-xml.org/2007-04-15")]
    public partial class ResumeStructuredXMLResumeContactInfoPersonNameAffix
    {
    
        private string typeField;
    
        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute()]
        public string type
        {
            get
            {
                return this.typeField;
            }
            set
            {
                this.typeField = value;
            }
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true, Namespace = "http://ns.hr-xml.org/2007-04-15")]
    public partial class ResumeStructuredXMLResumeContactInfoContactMethod
    {
    
        private object internetEmailAddressField;
    
        private string useField;
    
        private string locationField;
    
        private string whenAvailableField;
    
        private ResumeStructuredXMLResumeContactInfoContactMethodPager pagerField;
    
        private ResumeStructuredXMLResumeContactInfoContactMethodFax faxField;
    
        private ResumeStructuredXMLResumeContactInfoContactMethodMobile mobileField;
    
        private ResumeStructuredXMLResumeContactInfoContactMethodTelephone telephoneField;
    
        private ResumeStructuredXMLResumeContactInfoContactMethodPostalAddress postalAddressField;
    
        /// <remarks/>
        public object InternetEmailAddress
        {
            get
            {
                return this.internetEmailAddressField;
            }
            set
            {
                this.internetEmailAddressField = value;
            }
        }
    
        /// <remarks/>
        public string Use
        {
            get
            {
                return this.useField;
            }
            set
            {
                this.useField = value;
            }
        }
    
        /// <remarks/>
        public string Location
        {
            get
            {
                return this.locationField;
            }
            set
            {
                this.locationField = value;
            }
        }
    
        /// <remarks/>
        public string WhenAvailable
        {
            get
            {
                return this.whenAvailableField;
            }
            set
            {
                this.whenAvailableField = value;
            }
        }
    
        /// <remarks/>
        public ResumeStructuredXMLResumeContactInfoContactMethodPager Pager
        {
            get
            {
                return this.pagerField;
            }
            set
            {
                this.pagerField = value;
            }
        }
    
        /// <remarks/>
        public ResumeStructuredXMLResumeContactInfoContactMethodFax Fax
        {
            get
            {
                return this.faxField;
            }
            set
            {
                this.faxField = value;
            }
        }
    
        /// <remarks/>
        public ResumeStructuredXMLResumeContactInfoContactMethodMobile Mobile
        {
            get
            {
                return this.mobileField;
            }
            set
            {
                this.mobileField = value;
            }
        }
    
        /// <remarks/>
        public ResumeStructuredXMLResumeContactInfoContactMethodTelephone Telephone
        {
            get
            {
                return this.telephoneField;
            }
            set
            {
                this.telephoneField = value;
            }
        }
    
        /// <remarks/>
        public ResumeStructuredXMLResumeContactInfoContactMethodPostalAddress PostalAddress
        {
            get
            {
                return this.postalAddressField;
            }
            set
            {
                this.postalAddressField = value;
            }
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true, Namespace = "http://ns.hr-xml.org/2007-04-15")]
    public partial class ResumeStructuredXMLResumeContactInfoContactMethodPager
    {
    
        private object formattedNumberField;
    
        private object internationalCountryCodeField;
    
        private object areaCityCodeField;
    
        private object subscriberNumberField;
    
        private object extensionField;
    
        /// <remarks/>
        public object FormattedNumber
        {
            get
            {
                return this.formattedNumberField;
            }
            set
            {
                this.formattedNumberField = value;
            }
        }
    
        /// <remarks/>
        public object InternationalCountryCode
        {
            get
            {
                return this.internationalCountryCodeField;
            }
            set
            {
                this.internationalCountryCodeField = value;
            }
        }
    
        /// <remarks/>
        public object AreaCityCode
        {
            get
            {
                return this.areaCityCodeField;
            }
            set
            {
                this.areaCityCodeField = value;
            }
        }
    
        /// <remarks/>
        public object SubscriberNumber
        {
            get
            {
                return this.subscriberNumberField;
            }
            set
            {
                this.subscriberNumberField = value;
            }
        }
    
        /// <remarks/>
        public object Extension
        {
            get
            {
                return this.extensionField;
            }
            set
            {
                this.extensionField = value;
            }
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true, Namespace = "http://ns.hr-xml.org/2007-04-15")]
    public partial class ResumeStructuredXMLResumeContactInfoContactMethodFax
    {
    
        private object formattedNumberField;
    
        private object internationalCountryCodeField;
    
        private object areaCityCodeField;
    
        private object subscriberNumberField;
    
        private object extensionField;
    
        /// <remarks/>
        public object FormattedNumber
        {
            get
            {
                return this.formattedNumberField;
            }
            set
            {
                this.formattedNumberField = value;
            }
        }
    
        /// <remarks/>
        public object InternationalCountryCode
        {
            get
            {
                return this.internationalCountryCodeField;
            }
            set
            {
                this.internationalCountryCodeField = value;
            }
        }
    
        /// <remarks/>
        public object AreaCityCode
        {
            get
            {
                return this.areaCityCodeField;
            }
            set
            {
                this.areaCityCodeField = value;
            }
        }
    
        /// <remarks/>
        public object SubscriberNumber
        {
            get
            {
                return this.subscriberNumberField;
            }
            set
            {
                this.subscriberNumberField = value;
            }
        }
    
        /// <remarks/>
        public object Extension
        {
            get
            {
                return this.extensionField;
            }
            set
            {
                this.extensionField = value;
            }
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true, Namespace = "http://ns.hr-xml.org/2007-04-15")]
    public partial class ResumeStructuredXMLResumeContactInfoContactMethodMobile
    {
    
        private object formattedNumberField;
    
        private object internationalCountryCodeField;
    
        private object areaCityCodeField;
    
        private object subscriberNumberField;
    
        private object extensionField;
    
        /// <remarks/>
        public object FormattedNumber
        {
            get
            {
                return this.formattedNumberField;
            }
            set
            {
                this.formattedNumberField = value;
            }
        }
    
        /// <remarks/>
        public object InternationalCountryCode
        {
            get
            {
                return this.internationalCountryCodeField;
            }
            set
            {
                this.internationalCountryCodeField = value;
            }
        }
    
        /// <remarks/>
        public object AreaCityCode
        {
            get
            {
                return this.areaCityCodeField;
            }
            set
            {
                this.areaCityCodeField = value;
            }
        }
    
        /// <remarks/>
        public object SubscriberNumber
        {
            get
            {
                return this.subscriberNumberField;
            }
            set
            {
                this.subscriberNumberField = value;
            }
        }
    
        /// <remarks/>
        public object Extension
        {
            get
            {
                return this.extensionField;
            }
            set
            {
                this.extensionField = value;
            }
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true, Namespace = "http://ns.hr-xml.org/2007-04-15")]
    public partial class ResumeStructuredXMLResumeContactInfoContactMethodTelephone
    {
    
        private object formattedNumberField;
    
        private object internationalCountryCodeField;
    
        private object areaCityCodeField;
    
        private object subscriberNumberField;
    
        private object extensionField;
    
        /// <remarks/>
        public object FormattedNumber
        {
            get
            {
                return this.formattedNumberField;
            }
            set
            {
                this.formattedNumberField = value;
            }
        }
    
        /// <remarks/>
        public object InternationalCountryCode
        {
            get
            {
                return this.internationalCountryCodeField;
            }
            set
            {
                this.internationalCountryCodeField = value;
            }
        }
    
        /// <remarks/>
        public object AreaCityCode
        {
            get
            {
                return this.areaCityCodeField;
            }
            set
            {
                this.areaCityCodeField = value;
            }
        }
    
        /// <remarks/>
        public object SubscriberNumber
        {
            get
            {
                return this.subscriberNumberField;
            }
            set
            {
                this.subscriberNumberField = value;
            }
        }
    
        /// <remarks/>
        public object Extension
        {
            get
            {
                return this.extensionField;
            }
            set
            {
                this.extensionField = value;
            }
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true, Namespace = "http://ns.hr-xml.org/2007-04-15")]
    public partial class ResumeStructuredXMLResumeContactInfoContactMethodPostalAddress
    {
    
        private string countryCodeField;
    
        private object postalCodeField;
    
        private object regionField;
    
        private object municipalityField;
    
        private ResumeStructuredXMLResumeContactInfoContactMethodPostalAddressDeliveryAddress deliveryAddressField;
    
        /// <remarks/>
        public string CountryCode
        {
            get
            {
                return this.countryCodeField;
            }
            set
            {
                this.countryCodeField = value;
            }
        }
    
        /// <remarks/>
        public object PostalCode
        {
            get
            {
                return this.postalCodeField;
            }
            set
            {
                this.postalCodeField = value;
            }
        }
    
        /// <remarks/>
        public object Region
        {
            get
            {
                return this.regionField;
            }
            set
            {
                this.regionField = value;
            }
        }
    
        /// <remarks/>
        public object Municipality
        {
            get
            {
                return this.municipalityField;
            }
            set
            {
                this.municipalityField = value;
            }
        }
    
        /// <remarks/>
        public ResumeStructuredXMLResumeContactInfoContactMethodPostalAddressDeliveryAddress DeliveryAddress
        {
            get
            {
                return this.deliveryAddressField;
            }
            set
            {
                this.deliveryAddressField = value;
            }
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true, Namespace = "http://ns.hr-xml.org/2007-04-15")]
    public partial class ResumeStructuredXMLResumeContactInfoContactMethodPostalAddressDeliveryAddress
    {
    
        private object addressLineField;
    
        /// <remarks/>
        public object AddressLine
        {
            get
            {
                return this.addressLineField;
            }
            set
            {
                this.addressLineField = value;
            }
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true, Namespace = "http://ns.hr-xml.org/2007-04-15")]
    public partial class ResumeStructuredXMLResumeEmploymentHistory
    {
    
        private ResumeStructuredXMLResumeEmploymentHistoryEmployerOrg employerOrgField;
    
        /// <remarks/>
        public ResumeStructuredXMLResumeEmploymentHistoryEmployerOrg EmployerOrg
        {
            get
            {
                return this.employerOrgField;
            }
            set
            {
                this.employerOrgField = value;
            }
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true, Namespace = "http://ns.hr-xml.org/2007-04-15")]
    public partial class ResumeStructuredXMLResumeEmploymentHistoryEmployerOrg
    {
    
        private object employerOrgNameField;
    
        private object jobTypeField;
    
        private ResumeStructuredXMLResumeEmploymentHistoryEmployerOrgPositionHistory positionHistoryField;
    
        /// <remarks/>
        public object EmployerOrgName
        {
            get
            {
                return this.employerOrgNameField;
            }
            set
            {
                this.employerOrgNameField = value;
            }
        }
    
        /// <remarks/>
        public object JobType
        {
            get
            {
                return this.jobTypeField;
            }
            set
            {
                this.jobTypeField = value;
            }
        }
    
        /// <remarks/>
        public ResumeStructuredXMLResumeEmploymentHistoryEmployerOrgPositionHistory PositionHistory
        {
            get
            {
                return this.positionHistoryField;
            }
            set
            {
                this.positionHistoryField = value;
            }
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true, Namespace = "http://ns.hr-xml.org/2007-04-15")]
    public partial class ResumeStructuredXMLResumeEmploymentHistoryEmployerOrgPositionHistory
    {
    
        private object titleField;
    
        private ResumeStructuredXMLResumeEmploymentHistoryEmployerOrgPositionHistoryOrgName orgNameField;
    
        private ResumeStructuredXMLResumeEmploymentHistoryEmployerOrgPositionHistoryOrgInfo orgInfoField;
    
        private ResumeStructuredXMLResumeEmploymentHistoryEmployerOrgPositionHistoryOrgIndustry orgIndustryField;
    
        private object descriptionField;
    
        private ResumeStructuredXMLResumeEmploymentHistoryEmployerOrgPositionHistoryStartDate startDateField;
    
        private ResumeStructuredXMLResumeEmploymentHistoryEmployerOrgPositionHistoryEndDate endDateField;
    
        private ResumeStructuredXMLResumeEmploymentHistoryEmployerOrgPositionHistoryCompensation compensationField;
    
        private ResumeStructuredXMLResumeEmploymentHistoryEmployerOrgPositionHistoryUserArea userAreaField;
    
        /// <remarks/>
        public object Title
        {
            get
            {
                return this.titleField;
            }
            set
            {
                this.titleField = value;
            }
        }
    
        /// <remarks/>
        public ResumeStructuredXMLResumeEmploymentHistoryEmployerOrgPositionHistoryOrgName OrgName
        {
            get
            {
                return this.orgNameField;
            }
            set
            {
                this.orgNameField = value;
            }
        }
    
        /// <remarks/>
        public ResumeStructuredXMLResumeEmploymentHistoryEmployerOrgPositionHistoryOrgInfo OrgInfo
        {
            get
            {
                return this.orgInfoField;
            }
            set
            {
                this.orgInfoField = value;
            }
        }
    
        /// <remarks/>
        public ResumeStructuredXMLResumeEmploymentHistoryEmployerOrgPositionHistoryOrgIndustry OrgIndustry
        {
            get
            {
                return this.orgIndustryField;
            }
            set
            {
                this.orgIndustryField = value;
            }
        }
    
        /// <remarks/>
        public object Description
        {
            get
            {
                return this.descriptionField;
            }
            set
            {
                this.descriptionField = value;
            }
        }
    
        /// <remarks/>
        public ResumeStructuredXMLResumeEmploymentHistoryEmployerOrgPositionHistoryStartDate StartDate
        {
            get
            {
                return this.startDateField;
            }
            set
            {
                this.startDateField = value;
            }
        }
    
        /// <remarks/>
        public ResumeStructuredXMLResumeEmploymentHistoryEmployerOrgPositionHistoryEndDate EndDate
        {
            get
            {
                return this.endDateField;
            }
            set
            {
                this.endDateField = value;
            }
        }
    
        /// <remarks/>
        public ResumeStructuredXMLResumeEmploymentHistoryEmployerOrgPositionHistoryCompensation Compensation
        {
            get
            {
                return this.compensationField;
            }
            set
            {
                this.compensationField = value;
            }
        }
    
        /// <remarks/>
        public ResumeStructuredXMLResumeEmploymentHistoryEmployerOrgPositionHistoryUserArea UserArea
        {
            get
            {
                return this.userAreaField;
            }
            set
            {
                this.userAreaField = value;
            }
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true, Namespace = "http://ns.hr-xml.org/2007-04-15")]
    public partial class ResumeStructuredXMLResumeEmploymentHistoryEmployerOrgPositionHistoryOrgName
    {
    
        private object organizationNameField;
    
        /// <remarks/>
        public object OrganizationName
        {
            get
            {
                return this.organizationNameField;
            }
            set
            {
                this.organizationNameField = value;
            }
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true, Namespace = "http://ns.hr-xml.org/2007-04-15")]
    public partial class ResumeStructuredXMLResumeEmploymentHistoryEmployerOrgPositionHistoryOrgInfo
    {
    
        private ResumeStructuredXMLResumeEmploymentHistoryEmployerOrgPositionHistoryOrgInfoPositionLocation positionLocationField;
    
        /// <remarks/>
        public ResumeStructuredXMLResumeEmploymentHistoryEmployerOrgPositionHistoryOrgInfoPositionLocation PositionLocation
        {
            get
            {
                return this.positionLocationField;
            }
            set
            {
                this.positionLocationField = value;
            }
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true, Namespace = "http://ns.hr-xml.org/2007-04-15")]
    public partial class ResumeStructuredXMLResumeEmploymentHistoryEmployerOrgPositionHistoryOrgInfoPositionLocation
    {
    
        private string countryCodeField;
    
        private object postalCodeField;
    
        private object regionField;
    
        private object municipalityField;
    
        private object deliveryAddressField;
    
        /// <remarks/>
        public string CountryCode
        {
            get
            {
                return this.countryCodeField;
            }
            set
            {
                this.countryCodeField = value;
            }
        }
    
        /// <remarks/>
        public object PostalCode
        {
            get
            {
                return this.postalCodeField;
            }
            set
            {
                this.postalCodeField = value;
            }
        }
    
        /// <remarks/>
        public object Region
        {
            get
            {
                return this.regionField;
            }
            set
            {
                this.regionField = value;
            }
        }
    
        /// <remarks/>
        public object Municipality
        {
            get
            {
                return this.municipalityField;
            }
            set
            {
                this.municipalityField = value;
            }
        }
    
        /// <remarks/>
        public object DeliveryAddress
        {
            get
            {
                return this.deliveryAddressField;
            }
            set
            {
                this.deliveryAddressField = value;
            }
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true, Namespace = "http://ns.hr-xml.org/2007-04-15")]
    public partial class ResumeStructuredXMLResumeEmploymentHistoryEmployerOrgPositionHistoryOrgIndustry
    {
    
        private object industryDescriptionField;
    
        private bool primaryIndicatorField;
    
        /// <remarks/>
        public object IndustryDescription
        {
            get
            {
                return this.industryDescriptionField;
            }
            set
            {
                this.industryDescriptionField = value;
            }
        }
    
        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute()]
        public bool primaryIndicator
        {
            get
            {
                return this.primaryIndicatorField;
            }
            set
            {
                this.primaryIndicatorField = value;
            }
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true, Namespace = "http://ns.hr-xml.org/2007-04-15")]
    public partial class ResumeStructuredXMLResumeEmploymentHistoryEmployerOrgPositionHistoryStartDate
    {
    
        private System.DateTime anyDateField;
    
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(DataType = "date")]
        public System.DateTime AnyDate
        {
            get
            {
                return this.anyDateField;
            }
            set
            {
                this.anyDateField = value;
            }
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true, Namespace = "http://ns.hr-xml.org/2007-04-15")]
    public partial class ResumeStructuredXMLResumeEmploymentHistoryEmployerOrgPositionHistoryEndDate
    {
    
        private System.DateTime anyDateField;
    
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(DataType = "date")]
        public System.DateTime AnyDate
        {
            get
            {
                return this.anyDateField;
            }
            set
            {
                this.anyDateField = value;
            }
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true, Namespace = "http://ns.hr-xml.org/2007-04-15")]
    public partial class ResumeStructuredXMLResumeEmploymentHistoryEmployerOrgPositionHistoryCompensation
    {
    
        private ResumeStructuredXMLResumeEmploymentHistoryEmployerOrgPositionHistoryCompensationEndingCompensation endingCompensationField;
    
        /// <remarks/>
        public ResumeStructuredXMLResumeEmploymentHistoryEmployerOrgPositionHistoryCompensationEndingCompensation EndingCompensation
        {
            get
            {
                return this.endingCompensationField;
            }
            set
            {
                this.endingCompensationField = value;
            }
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true, Namespace = "http://ns.hr-xml.org/2007-04-15")]
    public partial class ResumeStructuredXMLResumeEmploymentHistoryEmployerOrgPositionHistoryCompensationEndingCompensation
    {
    
        private string intervalTypeField;
    
        private string currencyField;
    
        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute()]
        public string intervalType
        {
            get
            {
                return this.intervalTypeField;
            }
            set
            {
                this.intervalTypeField = value;
            }
        }
    
        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute()]
        public string currency
        {
            get
            {
                return this.currencyField;
            }
            set
            {
                this.currencyField = value;
            }
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true, Namespace = "http://ns.hr-xml.org/2007-04-15")]
    public partial class ResumeStructuredXMLResumeEmploymentHistoryEmployerOrgPositionHistoryUserArea
    {
    
        private object employerNameConfidenceRatingField;
    
        private object jobTitleConfidenceRatingField;
    
        private object startDateConfidenceRatingField;
    
        private object endDateConfidenceRatingField;
    
        private object datesConfidenceRatingField;
    
        private object descriptionConfidenceRatingField;
    
        private object positionConfidenceRatingField;
    
        /// <remarks/>
        public object employerNameConfidenceRating
        {
            get
            {
                return this.employerNameConfidenceRatingField;
            }
            set
            {
                this.employerNameConfidenceRatingField = value;
            }
        }
    
        /// <remarks/>
        public object jobTitleConfidenceRating
        {
            get
            {
                return this.jobTitleConfidenceRatingField;
            }
            set
            {
                this.jobTitleConfidenceRatingField = value;
            }
        }
    
        /// <remarks/>
        public object startDateConfidenceRating
        {
            get
            {
                return this.startDateConfidenceRatingField;
            }
            set
            {
                this.startDateConfidenceRatingField = value;
            }
        }
    
        /// <remarks/>
        public object endDateConfidenceRating
        {
            get
            {
                return this.endDateConfidenceRatingField;
            }
            set
            {
                this.endDateConfidenceRatingField = value;
            }
        }
    
        /// <remarks/>
        public object datesConfidenceRating
        {
            get
            {
                return this.datesConfidenceRatingField;
            }
            set
            {
                this.datesConfidenceRatingField = value;
            }
        }
    
        /// <remarks/>
        public object descriptionConfidenceRating
        {
            get
            {
                return this.descriptionConfidenceRatingField;
            }
            set
            {
                this.descriptionConfidenceRatingField = value;
            }
        }
    
        /// <remarks/>
        public object positionConfidenceRating
        {
            get
            {
                return this.positionConfidenceRatingField;
            }
            set
            {
                this.positionConfidenceRatingField = value;
            }
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true, Namespace = "http://ns.hr-xml.org/2007-04-15")]
    public partial class ResumeStructuredXMLResumeEducationHistory
    {
    
        private ResumeStructuredXMLResumeEducationHistorySchoolOrInstitution schoolOrInstitutionField;
    
        /// <remarks/>
        public ResumeStructuredXMLResumeEducationHistorySchoolOrInstitution SchoolOrInstitution
        {
            get
            {
                return this.schoolOrInstitutionField;
            }
            set
            {
                this.schoolOrInstitutionField = value;
            }
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true, Namespace = "http://ns.hr-xml.org/2007-04-15")]
    public partial class ResumeStructuredXMLResumeEducationHistorySchoolOrInstitution
    {
    
        private ResumeStructuredXMLResumeEducationHistorySchoolOrInstitutionSchool schoolField;
    
        private ResumeStructuredXMLResumeEducationHistorySchoolOrInstitutionPostalAddress postalAddressField;
    
        private ResumeStructuredXMLResumeEducationHistorySchoolOrInstitutionOrganizationUnit organizationUnitField;
    
        private ResumeStructuredXMLResumeEducationHistorySchoolOrInstitutionDegree degreeField;
    
        private string schoolTypeField;
    
        /// <remarks/>
        public ResumeStructuredXMLResumeEducationHistorySchoolOrInstitutionSchool School
        {
            get
            {
                return this.schoolField;
            }
            set
            {
                this.schoolField = value;
            }
        }
    
        /// <remarks/>
        public ResumeStructuredXMLResumeEducationHistorySchoolOrInstitutionPostalAddress PostalAddress
        {
            get
            {
                return this.postalAddressField;
            }
            set
            {
                this.postalAddressField = value;
            }
        }
    
        /// <remarks/>
        public ResumeStructuredXMLResumeEducationHistorySchoolOrInstitutionOrganizationUnit OrganizationUnit
        {
            get
            {
                return this.organizationUnitField;
            }
            set
            {
                this.organizationUnitField = value;
            }
        }
    
        /// <remarks/>
        public ResumeStructuredXMLResumeEducationHistorySchoolOrInstitutionDegree Degree
        {
            get
            {
                return this.degreeField;
            }
            set
            {
                this.degreeField = value;
            }
        }
    
        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute()]
        public string schoolType
        {
            get
            {
                return this.schoolTypeField;
            }
            set
            {
                this.schoolTypeField = value;
            }
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true, Namespace = "http://ns.hr-xml.org/2007-04-15")]
    public partial class ResumeStructuredXMLResumeEducationHistorySchoolOrInstitutionSchool
    {
    
        private object schoolNameField;
    
        /// <remarks/>
        public object SchoolName
        {
            get
            {
                return this.schoolNameField;
            }
            set
            {
                this.schoolNameField = value;
            }
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true, Namespace = "http://ns.hr-xml.org/2007-04-15")]
    public partial class ResumeStructuredXMLResumeEducationHistorySchoolOrInstitutionPostalAddress
    {
    
        private string countryCodeField;
    
        private object postalCodeField;
    
        private object regionField;
    
        private object municipalityField;
    
        private object deliveryAddressField;
    
        /// <remarks/>
        public string CountryCode
        {
            get
            {
                return this.countryCodeField;
            }
            set
            {
                this.countryCodeField = value;
            }
        }
    
        /// <remarks/>
        public object PostalCode
        {
            get
            {
                return this.postalCodeField;
            }
            set
            {
                this.postalCodeField = value;
            }
        }
    
        /// <remarks/>
        public object Region
        {
            get
            {
                return this.regionField;
            }
            set
            {
                this.regionField = value;
            }
        }
    
        /// <remarks/>
        public object Municipality
        {
            get
            {
                return this.municipalityField;
            }
            set
            {
                this.municipalityField = value;
            }
        }
    
        /// <remarks/>
        public object DeliveryAddress
        {
            get
            {
                return this.deliveryAddressField;
            }
            set
            {
                this.deliveryAddressField = value;
            }
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true, Namespace = "http://ns.hr-xml.org/2007-04-15")]
    public partial class ResumeStructuredXMLResumeEducationHistorySchoolOrInstitutionOrganizationUnit
    {
    
        private string organizationTypeField;
    
        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute()]
        public string organizationType
        {
            get
            {
                return this.organizationTypeField;
            }
            set
            {
                this.organizationTypeField = value;
            }
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true, Namespace = "http://ns.hr-xml.org/2007-04-15")]
    public partial class ResumeStructuredXMLResumeEducationHistorySchoolOrInstitutionDegree
    {
    
        private object degreeNameField;
    
        private ResumeStructuredXMLResumeEducationHistorySchoolOrInstitutionDegreeDegreeDate degreeDateField;
    
        private ResumeStructuredXMLResumeEducationHistorySchoolOrInstitutionDegreeDegreeMajor degreeMajorField;
    
        private ResumeStructuredXMLResumeEducationHistorySchoolOrInstitutionDegreeDegreeMinor degreeMinorField;
    
        private ResumeStructuredXMLResumeEducationHistorySchoolOrInstitutionDegreeDegreeMeasure degreeMeasureField;
    
        private object commentsField;
    
        private string degreeTypeField;
    
        /// <remarks/>
        public object DegreeName
        {
            get
            {
                return this.degreeNameField;
            }
            set
            {
                this.degreeNameField = value;
            }
        }
    
        /// <remarks/>
        public ResumeStructuredXMLResumeEducationHistorySchoolOrInstitutionDegreeDegreeDate DegreeDate
        {
            get
            {
                return this.degreeDateField;
            }
            set
            {
                this.degreeDateField = value;
            }
        }
    
        /// <remarks/>
        public ResumeStructuredXMLResumeEducationHistorySchoolOrInstitutionDegreeDegreeMajor DegreeMajor
        {
            get
            {
                return this.degreeMajorField;
            }
            set
            {
                this.degreeMajorField = value;
            }
        }
    
        /// <remarks/>
        public ResumeStructuredXMLResumeEducationHistorySchoolOrInstitutionDegreeDegreeMinor DegreeMinor
        {
            get
            {
                return this.degreeMinorField;
            }
            set
            {
                this.degreeMinorField = value;
            }
        }
    
        /// <remarks/>
        public ResumeStructuredXMLResumeEducationHistorySchoolOrInstitutionDegreeDegreeMeasure DegreeMeasure
        {
            get
            {
                return this.degreeMeasureField;
            }
            set
            {
                this.degreeMeasureField = value;
            }
        }
    
        /// <remarks/>
        public object Comments
        {
            get
            {
                return this.commentsField;
            }
            set
            {
                this.commentsField = value;
            }
        }
    
        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute()]
        public string degreeType
        {
            get
            {
                return this.degreeTypeField;
            }
            set
            {
                this.degreeTypeField = value;
            }
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true, Namespace = "http://ns.hr-xml.org/2007-04-15")]
    public partial class ResumeStructuredXMLResumeEducationHistorySchoolOrInstitutionDegreeDegreeDate
    {
    
        private System.DateTime anyDateField;
    
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(DataType = "date")]
        public System.DateTime AnyDate
        {
            get
            {
                return this.anyDateField;
            }
            set
            {
                this.anyDateField = value;
            }
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true, Namespace = "http://ns.hr-xml.org/2007-04-15")]
    public partial class ResumeStructuredXMLResumeEducationHistorySchoolOrInstitutionDegreeDegreeMajor
    {
    
        private object nameField;
    
        /// <remarks/>
        public object Name
        {
            get
            {
                return this.nameField;
            }
            set
            {
                this.nameField = value;
            }
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true, Namespace = "http://ns.hr-xml.org/2007-04-15")]
    public partial class ResumeStructuredXMLResumeEducationHistorySchoolOrInstitutionDegreeDegreeMinor
    {
    
        private object nameField;
    
        /// <remarks/>
        public object Name
        {
            get
            {
                return this.nameField;
            }
            set
            {
                this.nameField = value;
            }
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true, Namespace = "http://ns.hr-xml.org/2007-04-15")]
    public partial class ResumeStructuredXMLResumeEducationHistorySchoolOrInstitutionDegreeDegreeMeasure
    {
    
        private ResumeStructuredXMLResumeEducationHistorySchoolOrInstitutionDegreeDegreeMeasureEducationalMeasure educationalMeasureField;
    
        /// <remarks/>
        public ResumeStructuredXMLResumeEducationHistorySchoolOrInstitutionDegreeDegreeMeasureEducationalMeasure EducationalMeasure
        {
            get
            {
                return this.educationalMeasureField;
            }
            set
            {
                this.educationalMeasureField = value;
            }
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true, Namespace = "http://ns.hr-xml.org/2007-04-15")]
    public partial class ResumeStructuredXMLResumeEducationHistorySchoolOrInstitutionDegreeDegreeMeasureEducationalMeasure
    {
    
        private object measureSystemField;
    
        private ResumeStructuredXMLResumeEducationHistorySchoolOrInstitutionDegreeDegreeMeasureEducationalMeasureMeasureValue measureValueField;
    
        private ResumeStructuredXMLResumeEducationHistorySchoolOrInstitutionDegreeDegreeMeasureEducationalMeasureLowestPossibleValue lowestPossibleValueField;
    
        /// <remarks/>
        public object MeasureSystem
        {
            get
            {
                return this.measureSystemField;
            }
            set
            {
                this.measureSystemField = value;
            }
        }
    
        /// <remarks/>
        public ResumeStructuredXMLResumeEducationHistorySchoolOrInstitutionDegreeDegreeMeasureEducationalMeasureMeasureValue MeasureValue
        {
            get
            {
                return this.measureValueField;
            }
            set
            {
                this.measureValueField = value;
            }
        }
    
        /// <remarks/>
        public ResumeStructuredXMLResumeEducationHistorySchoolOrInstitutionDegreeDegreeMeasureEducationalMeasureLowestPossibleValue LowestPossibleValue
        {
            get
            {
                return this.lowestPossibleValueField;
            }
            set
            {
                this.lowestPossibleValueField = value;
            }
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true, Namespace = "http://ns.hr-xml.org/2007-04-15")]
    public partial class ResumeStructuredXMLResumeEducationHistorySchoolOrInstitutionDegreeDegreeMeasureEducationalMeasureMeasureValue
    {
    
        private object stringValueField;
    
        /// <remarks/>
        public object StringValue
        {
            get
            {
                return this.stringValueField;
            }
            set
            {
                this.stringValueField = value;
            }
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true, Namespace = "http://ns.hr-xml.org/2007-04-15")]
    public partial class ResumeStructuredXMLResumeEducationHistorySchoolOrInstitutionDegreeDegreeMeasureEducationalMeasureLowestPossibleValue
    {
    
        private object stringValueField;
    
        /// <remarks/>
        public object StringValue
        {
            get
            {
                return this.stringValueField;
            }
            set
            {
                this.stringValueField = value;
            }
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true, Namespace = "http://ns.hr-xml.org/2007-04-15")]
    public partial class ResumeStructuredXMLResumeLicensesAndCertifications
    {
    
        private ResumeStructuredXMLResumeLicensesAndCertificationsLicenseOrCertification licenseOrCertificationField;
    
        /// <remarks/>
        public ResumeStructuredXMLResumeLicensesAndCertificationsLicenseOrCertification LicenseOrCertification
        {
            get
            {
                return this.licenseOrCertificationField;
            }
            set
            {
                this.licenseOrCertificationField = value;
            }
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true, Namespace = "http://ns.hr-xml.org/2007-04-15")]
    public partial class ResumeStructuredXMLResumeLicensesAndCertificationsLicenseOrCertification
    {
    
        private object nameField;
    
        private object issuingAuthorityField;
    
        private ResumeStructuredXMLResumeLicensesAndCertificationsLicenseOrCertificationEffectiveDate effectiveDateField;
    
        /// <remarks/>
        public object Name
        {
            get
            {
                return this.nameField;
            }
            set
            {
                this.nameField = value;
            }
        }
    
        /// <remarks/>
        public object IssuingAuthority
        {
            get
            {
                return this.issuingAuthorityField;
            }
            set
            {
                this.issuingAuthorityField = value;
            }
        }
    
        /// <remarks/>
        public ResumeStructuredXMLResumeLicensesAndCertificationsLicenseOrCertificationEffectiveDate EffectiveDate
        {
            get
            {
                return this.effectiveDateField;
            }
            set
            {
                this.effectiveDateField = value;
            }
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true, Namespace = "http://ns.hr-xml.org/2007-04-15")]
    public partial class ResumeStructuredXMLResumeLicensesAndCertificationsLicenseOrCertificationEffectiveDate
    {
    
        private ResumeStructuredXMLResumeLicensesAndCertificationsLicenseOrCertificationEffectiveDateValidTo validToField;
    
        /// <remarks/>
        public ResumeStructuredXMLResumeLicensesAndCertificationsLicenseOrCertificationEffectiveDateValidTo ValidTo
        {
            get
            {
                return this.validToField;
            }
            set
            {
                this.validToField = value;
            }
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true, Namespace = "http://ns.hr-xml.org/2007-04-15")]
    public partial class ResumeStructuredXMLResumeLicensesAndCertificationsLicenseOrCertificationEffectiveDateValidTo
    {
    
        private System.DateTime anyDateField;
    
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(DataType = "date")]
        public System.DateTime AnyDate
        {
            get
            {
                return this.anyDateField;
            }
            set
            {
                this.anyDateField = value;
            }
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true, Namespace = "http://ns.hr-xml.org/2007-04-15")]
    public partial class ResumeStructuredXMLResumeMilitaryHistory
    {
    
        private string countryServedField;
    
        private ResumeStructuredXMLResumeMilitaryHistoryServiceDetail serviceDetailField;
    
        /// <remarks/>
        public string CountryServed
        {
            get
            {
                return this.countryServedField;
            }
            set
            {
                this.countryServedField = value;
            }
        }
    
        /// <remarks/>
        public ResumeStructuredXMLResumeMilitaryHistoryServiceDetail ServiceDetail
        {
            get
            {
                return this.serviceDetailField;
            }
            set
            {
                this.serviceDetailField = value;
            }
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true, Namespace = "http://ns.hr-xml.org/2007-04-15")]
    public partial class ResumeStructuredXMLResumeMilitaryHistoryServiceDetail
    {
    
        private object unitOrDivisionField;
    
        private ResumeStructuredXMLResumeMilitaryHistoryServiceDetailRankAchieved rankAchievedField;
    
        private ResumeStructuredXMLResumeMilitaryHistoryServiceDetailDatesOfService datesOfServiceField;
    
        private object areaOfExpertiseField;
    
        private string branchField;
    
        /// <remarks/>
        public object UnitOrDivision
        {
            get
            {
                return this.unitOrDivisionField;
            }
            set
            {
                this.unitOrDivisionField = value;
            }
        }
    
        /// <remarks/>
        public ResumeStructuredXMLResumeMilitaryHistoryServiceDetailRankAchieved RankAchieved
        {
            get
            {
                return this.rankAchievedField;
            }
            set
            {
                this.rankAchievedField = value;
            }
        }
    
        /// <remarks/>
        public ResumeStructuredXMLResumeMilitaryHistoryServiceDetailDatesOfService DatesOfService
        {
            get
            {
                return this.datesOfServiceField;
            }
            set
            {
                this.datesOfServiceField = value;
            }
        }
    
        /// <remarks/>
        public object AreaOfExpertise
        {
            get
            {
                return this.areaOfExpertiseField;
            }
            set
            {
                this.areaOfExpertiseField = value;
            }
        }
    
        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute()]
        public string branch
        {
            get
            {
                return this.branchField;
            }
            set
            {
                this.branchField = value;
            }
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true, Namespace = "http://ns.hr-xml.org/2007-04-15")]
    public partial class ResumeStructuredXMLResumeMilitaryHistoryServiceDetailRankAchieved
    {
    
        private object currentOrEndRankField;
    
        /// <remarks/>
        public object CurrentOrEndRank
        {
            get
            {
                return this.currentOrEndRankField;
            }
            set
            {
                this.currentOrEndRankField = value;
            }
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true, Namespace = "http://ns.hr-xml.org/2007-04-15")]
    public partial class ResumeStructuredXMLResumeMilitaryHistoryServiceDetailDatesOfService
    {
    
        private ResumeStructuredXMLResumeMilitaryHistoryServiceDetailDatesOfServiceStartDate startDateField;
    
        private ResumeStructuredXMLResumeMilitaryHistoryServiceDetailDatesOfServiceEndDate endDateField;
    
        /// <remarks/>
        public ResumeStructuredXMLResumeMilitaryHistoryServiceDetailDatesOfServiceStartDate StartDate
        {
            get
            {
                return this.startDateField;
            }
            set
            {
                this.startDateField = value;
            }
        }
    
        /// <remarks/>
        public ResumeStructuredXMLResumeMilitaryHistoryServiceDetailDatesOfServiceEndDate EndDate
        {
            get
            {
                return this.endDateField;
            }
            set
            {
                this.endDateField = value;
            }
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true, Namespace = "http://ns.hr-xml.org/2007-04-15")]
    public partial class ResumeStructuredXMLResumeMilitaryHistoryServiceDetailDatesOfServiceStartDate
    {
    
        private System.DateTime anyDateField;
    
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(DataType = "date")]
        public System.DateTime AnyDate
        {
            get
            {
                return this.anyDateField;
            }
            set
            {
                this.anyDateField = value;
            }
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true, Namespace = "http://ns.hr-xml.org/2007-04-15")]
    public partial class ResumeStructuredXMLResumeMilitaryHistoryServiceDetailDatesOfServiceEndDate
    {
    
        private System.DateTime anyDateField;
    
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(DataType = "date")]
        public System.DateTime AnyDate
        {
            get
            {
                return this.anyDateField;
            }
            set
            {
                this.anyDateField = value;
            }
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true, Namespace = "http://ns.hr-xml.org/2007-04-15")]
    public partial class ResumeStructuredXMLResumeQualifications
    {
    
        private ResumeStructuredXMLResumeQualificationsCompetency competencyField;
    
        /// <remarks/>
        public ResumeStructuredXMLResumeQualificationsCompetency Competency
        {
            get
            {
                return this.competencyField;
            }
            set
            {
                this.competencyField = value;
            }
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true, Namespace = "http://ns.hr-xml.org/2007-04-15")]
    public partial class ResumeStructuredXMLResumeQualificationsCompetency
    {
    
        private ResumeStructuredXMLResumeQualificationsCompetencyCompetencyEvidence competencyEvidenceField;
    
        private object originalCompetencyField;
    
        private string userAreaField;
    
        private string[] textField;
    
        private string nameField;
    
        /// <remarks/>
        public ResumeStructuredXMLResumeQualificationsCompetencyCompetencyEvidence CompetencyEvidence
        {
            get
            {
                return this.competencyEvidenceField;
            }
            set
            {
                this.competencyEvidenceField = value;
            }
        }
    
        /// <remarks/>
        public object OriginalCompetency
        {
            get
            {
                return this.originalCompetencyField;
            }
            set
            {
                this.originalCompetencyField = value;
            }
        }
    
        /// <remarks/>
        public string UserArea
        {
            get
            {
                return this.userAreaField;
            }
            set
            {
                this.userAreaField = value;
            }
        }
    
        /// <remarks/>
        [System.Xml.Serialization.XmlTextAttribute()]
        public string[] Text
        {
            get
            {
                return this.textField;
            }
            set
            {
                this.textField = value;
            }
        }
    
        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute()]
        public string name
        {
            get
            {
                return this.nameField;
            }
            set
            {
                this.nameField = value;
            }
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true, Namespace = "http://ns.hr-xml.org/2007-04-15")]
    public partial class ResumeStructuredXMLResumeQualificationsCompetencyCompetencyEvidence
    {
    
        private ResumeStructuredXMLResumeQualificationsCompetencyCompetencyEvidenceNumericValue numericValueField;
    
        private string nameField;
    
        private string typeIdField;
    
        private System.DateTime lastUsedField;
    
        /// <remarks/>
        public ResumeStructuredXMLResumeQualificationsCompetencyCompetencyEvidenceNumericValue NumericValue
        {
            get
            {
                return this.numericValueField;
            }
            set
            {
                this.numericValueField = value;
            }
        }
    
        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute()]
        public string name
        {
            get
            {
                return this.nameField;
            }
            set
            {
                this.nameField = value;
            }
        }
    
        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute()]
        public string typeId
        {
            get
            {
                return this.typeIdField;
            }
            set
            {
                this.typeIdField = value;
            }
        }
    
        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute(DataType = "date")]
        public System.DateTime lastUsed
        {
            get
            {
                return this.lastUsedField;
            }
            set
            {
                this.lastUsedField = value;
            }
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true, Namespace = "http://ns.hr-xml.org/2007-04-15")]
    public partial class ResumeStructuredXMLResumeQualificationsCompetencyCompetencyEvidenceNumericValue
    {
    
        private string descriptionField;
    
        private byte valueField;
    
        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute()]
        public string description
        {
            get
            {
                return this.descriptionField;
            }
            set
            {
                this.descriptionField = value;
            }
        }
    
        /// <remarks/>
        [System.Xml.Serialization.XmlTextAttribute()]
        public byte Value
        {
            get
            {
                return this.valueField;
            }
            set
            {
                this.valueField = value;
            }
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true, Namespace = "http://ns.hr-xml.org/2007-04-15")]
    public partial class ResumeStructuredXMLResumeAchievements
    {
    
        private ResumeStructuredXMLResumeAchievementsAchievement achievementField;
    
        /// <remarks/>
        public ResumeStructuredXMLResumeAchievementsAchievement Achievement
        {
            get
            {
                return this.achievementField;
            }
            set
            {
                this.achievementField = value;
            }
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true, Namespace = "http://ns.hr-xml.org/2007-04-15")]
    public partial class ResumeStructuredXMLResumeAchievementsAchievement
    {
    
        private ResumeStructuredXMLResumeAchievementsAchievementDate dateField;
    
        private object descriptionField;
    
        private object issuingAuthorityField;
    
        /// <remarks/>
        public ResumeStructuredXMLResumeAchievementsAchievementDate Date
        {
            get
            {
                return this.dateField;
            }
            set
            {
                this.dateField = value;
            }
        }
    
        /// <remarks/>
        public object Description
        {
            get
            {
                return this.descriptionField;
            }
            set
            {
                this.descriptionField = value;
            }
        }
    
        /// <remarks/>
        public object IssuingAuthority
        {
            get
            {
                return this.issuingAuthorityField;
            }
            set
            {
                this.issuingAuthorityField = value;
            }
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true, Namespace = "http://ns.hr-xml.org/2007-04-15")]
    public partial class ResumeStructuredXMLResumeAchievementsAchievementDate
    {
    
        private object stringDateField;
    
        /// <remarks/>
        public object StringDate
        {
            get
            {
                return this.stringDateField;
            }
            set
            {
                this.stringDateField = value;
            }
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true, Namespace = "http://ns.hr-xml.org/2007-04-15")]
    public partial class ResumeStructuredXMLResumeAssociations
    {
    
        private ResumeStructuredXMLResumeAssociationsAssociation associationField;
    
        /// <remarks/>
        public ResumeStructuredXMLResumeAssociationsAssociation Association
        {
            get
            {
                return this.associationField;
            }
            set
            {
                this.associationField = value;
            }
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true, Namespace = "http://ns.hr-xml.org/2007-04-15")]
    public partial class ResumeStructuredXMLResumeAssociationsAssociation
    {
    
        private object nameField;
    
        /// <remarks/>
        public object Name
        {
            get
            {
                return this.nameField;
            }
            set
            {
                this.nameField = value;
            }
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true, Namespace = "http://ns.hr-xml.org/2007-04-15")]
    public partial class ResumeStructuredXMLResumeReferences
    {
    
        private ResumeStructuredXMLResumeReferencesReference referenceField;
    
        /// <remarks/>
        public ResumeStructuredXMLResumeReferencesReference Reference
        {
            get
            {
                return this.referenceField;
            }
            set
            {
                this.referenceField = value;
            }
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true, Namespace = "http://ns.hr-xml.org/2007-04-15")]
    public partial class ResumeStructuredXMLResumeReferencesReference
    {
    
        private ResumeStructuredXMLResumeReferencesReferencePersonName personNameField;
    
        private object positionTitleField;
    
        private ResumeStructuredXMLResumeReferencesReferenceContactMethod contactMethodField;
    
        private object commentsField;
    
        private string typeField;
    
        /// <remarks/>
        public ResumeStructuredXMLResumeReferencesReferencePersonName PersonName
        {
            get
            {
                return this.personNameField;
            }
            set
            {
                this.personNameField = value;
            }
        }
    
        /// <remarks/>
        public object PositionTitle
        {
            get
            {
                return this.positionTitleField;
            }
            set
            {
                this.positionTitleField = value;
            }
        }
    
        /// <remarks/>
        public ResumeStructuredXMLResumeReferencesReferenceContactMethod ContactMethod
        {
            get
            {
                return this.contactMethodField;
            }
            set
            {
                this.contactMethodField = value;
            }
        }
    
        /// <remarks/>
        public object Comments
        {
            get
            {
                return this.commentsField;
            }
            set
            {
                this.commentsField = value;
            }
        }
    
        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute()]
        public string type
        {
            get
            {
                return this.typeField;
            }
            set
            {
                this.typeField = value;
            }
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true, Namespace = "http://ns.hr-xml.org/2007-04-15")]
    public partial class ResumeStructuredXMLResumeReferencesReferencePersonName
    {
    
        private object formattedNameField;
    
        private object givenNameField;
    
        private object familyNameField;
    
        /// <remarks/>
        public object FormattedName
        {
            get
            {
                return this.formattedNameField;
            }
            set
            {
                this.formattedNameField = value;
            }
        }
    
        /// <remarks/>
        public object GivenName
        {
            get
            {
                return this.givenNameField;
            }
            set
            {
                this.givenNameField = value;
            }
        }
    
        /// <remarks/>
        public object FamilyName
        {
            get
            {
                return this.familyNameField;
            }
            set
            {
                this.familyNameField = value;
            }
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true, Namespace = "http://ns.hr-xml.org/2007-04-15")]
    public partial class ResumeStructuredXMLResumeReferencesReferenceContactMethod
    {
    
        private ResumeStructuredXMLResumeReferencesReferenceContactMethodTelephone telephoneField;
    
        private object internetEmailAddressField;
    
        private object internetWebAddressField;
    
        private ResumeStructuredXMLResumeReferencesReferenceContactMethodPostalAddress postalAddressField;
    
        /// <remarks/>
        public ResumeStructuredXMLResumeReferencesReferenceContactMethodTelephone Telephone
        {
            get
            {
                return this.telephoneField;
            }
            set
            {
                this.telephoneField = value;
            }
        }
    
        /// <remarks/>
        public object InternetEmailAddress
        {
            get
            {
                return this.internetEmailAddressField;
            }
            set
            {
                this.internetEmailAddressField = value;
            }
        }
    
        /// <remarks/>
        public object InternetWebAddress
        {
            get
            {
                return this.internetWebAddressField;
            }
            set
            {
                this.internetWebAddressField = value;
            }
        }
    
        /// <remarks/>
        public ResumeStructuredXMLResumeReferencesReferenceContactMethodPostalAddress PostalAddress
        {
            get
            {
                return this.postalAddressField;
            }
            set
            {
                this.postalAddressField = value;
            }
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true, Namespace = "http://ns.hr-xml.org/2007-04-15")]
    public partial class ResumeStructuredXMLResumeReferencesReferenceContactMethodTelephone
    {
    
        private object internationalCountryCodeField;
    
        private object areaCityCodeField;
    
        private object subscriberNumberField;
    
        private object extensionField;
    
        /// <remarks/>
        public object InternationalCountryCode
        {
            get
            {
                return this.internationalCountryCodeField;
            }
            set
            {
                this.internationalCountryCodeField = value;
            }
        }
    
        /// <remarks/>
        public object AreaCityCode
        {
            get
            {
                return this.areaCityCodeField;
            }
            set
            {
                this.areaCityCodeField = value;
            }
        }
    
        /// <remarks/>
        public object SubscriberNumber
        {
            get
            {
                return this.subscriberNumberField;
            }
            set
            {
                this.subscriberNumberField = value;
            }
        }
    
        /// <remarks/>
        public object Extension
        {
            get
            {
                return this.extensionField;
            }
            set
            {
                this.extensionField = value;
            }
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true, Namespace = "http://ns.hr-xml.org/2007-04-15")]
    public partial class ResumeStructuredXMLResumeReferencesReferenceContactMethodPostalAddress
    {
    
        private string countryCodeField;
    
        private object postalCodeField;
    
        private object regionField;
    
        private object municipalityField;
    
        private ResumeStructuredXMLResumeReferencesReferenceContactMethodPostalAddressDeliveryAddress deliveryAddressField;
    
        /// <remarks/>
        public string CountryCode
        {
            get
            {
                return this.countryCodeField;
            }
            set
            {
                this.countryCodeField = value;
            }
        }
    
        /// <remarks/>
        public object PostalCode
        {
            get
            {
                return this.postalCodeField;
            }
            set
            {
                this.postalCodeField = value;
            }
        }
    
        /// <remarks/>
        public object Region
        {
            get
            {
                return this.regionField;
            }
            set
            {
                this.regionField = value;
            }
        }
    
        /// <remarks/>
        public object Municipality
        {
            get
            {
                return this.municipalityField;
            }
            set
            {
                this.municipalityField = value;
            }
        }
    
        /// <remarks/>
        public ResumeStructuredXMLResumeReferencesReferenceContactMethodPostalAddressDeliveryAddress DeliveryAddress
        {
            get
            {
                return this.deliveryAddressField;
            }
            set
            {
                this.deliveryAddressField = value;
            }
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true, Namespace = "http://ns.hr-xml.org/2007-04-15")]
    public partial class ResumeStructuredXMLResumeReferencesReferenceContactMethodPostalAddressDeliveryAddress
    {
    
        private object addressLineField;
    
        /// <remarks/>
        public object AddressLine
        {
            get
            {
                return this.addressLineField;
            }
            set
            {
                this.addressLineField = value;
            }
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true, Namespace = "http://ns.hr-xml.org/2007-04-15")]
    public partial class ResumeStructuredXMLResumeSecurityCredentials
    {
    
        private ResumeStructuredXMLResumeSecurityCredentialsSecurityCredential securityCredentialField;
    
        /// <remarks/>
        public ResumeStructuredXMLResumeSecurityCredentialsSecurityCredential SecurityCredential
        {
            get
            {
                return this.securityCredentialField;
            }
            set
            {
                this.securityCredentialField = value;
            }
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true, Namespace = "http://ns.hr-xml.org/2007-04-15")]
    public partial class ResumeStructuredXMLResumeSecurityCredentialsSecurityCredential
    {
    
        private object nameField;
    
        /// <remarks/>
        public object Name
        {
            get
            {
                return this.nameField;
            }
            set
            {
                this.nameField = value;
            }
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true, Namespace = "http://ns.hr-xml.org/2007-04-15")]
    public partial class ResumeStructuredXMLResumeResumeAdditionalItems
    {
    
        private ResumeStructuredXMLResumeResumeAdditionalItemsResumeAdditionalItem resumeAdditionalItemField;
    
        /// <remarks/>
        public ResumeStructuredXMLResumeResumeAdditionalItemsResumeAdditionalItem ResumeAdditionalItem
        {
            get
            {
                return this.resumeAdditionalItemField;
            }
            set
            {
                this.resumeAdditionalItemField = value;
            }
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true, Namespace = "http://ns.hr-xml.org/2007-04-15")]
    public partial class ResumeStructuredXMLResumeResumeAdditionalItemsResumeAdditionalItem
    {
    
        private ResumeStructuredXMLResumeResumeAdditionalItemsResumeAdditionalItemEffectiveDate effectiveDateField;
    
        private object descriptionField;
    
        private string typeField;
    
        /// <remarks/>
        public ResumeStructuredXMLResumeResumeAdditionalItemsResumeAdditionalItemEffectiveDate EffectiveDate
        {
            get
            {
                return this.effectiveDateField;
            }
            set
            {
                this.effectiveDateField = value;
            }
        }
    
        /// <remarks/>
        public object Description
        {
            get
            {
                return this.descriptionField;
            }
            set
            {
                this.descriptionField = value;
            }
        }
    
        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute()]
        public string type
        {
            get
            {
                return this.typeField;
            }
            set
            {
                this.typeField = value;
            }
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true, Namespace = "http://ns.hr-xml.org/2007-04-15")]
    public partial class ResumeStructuredXMLResumeResumeAdditionalItemsResumeAdditionalItemEffectiveDate
    {
    
        private object startDateField;
    
        private object endDateField;
    
        /// <remarks/>
        public object StartDate
        {
            get
            {
                return this.startDateField;
            }
            set
            {
                this.startDateField = value;
            }
        }
    
        /// <remarks/>
        public object EndDate
        {
            get
            {
                return this.endDateField;
            }
            set
            {
                this.endDateField = value;
            }
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true, Namespace = "http://ns.hr-xml.org/2007-04-15")]
    public partial class ResumeStructuredXMLResumePersonDescriptors
    {
    
        private ResumeStructuredXMLResumePersonDescriptorsLegalIdentifiers legalIdentifiersField;
    
        private object userAreaField;
    
        /// <remarks/>
        public ResumeStructuredXMLResumePersonDescriptorsLegalIdentifiers LegalIdentifiers
        {
            get
            {
                return this.legalIdentifiersField;
            }
            set
            {
                this.legalIdentifiersField = value;
            }
        }
    
        /// <remarks/>
        public object UserArea
        {
            get
            {
                return this.userAreaField;
            }
            set
            {
                this.userAreaField = value;
            }
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true, Namespace = "http://ns.hr-xml.org/2007-04-15")]
    public partial class ResumeStructuredXMLResumePersonDescriptorsLegalIdentifiers
    {
    
        private ResumeStructuredXMLResumePersonDescriptorsLegalIdentifiersPersonLegalId personLegalIdField;
    
        private object citizenshipField;
    
        /// <remarks/>
        public ResumeStructuredXMLResumePersonDescriptorsLegalIdentifiersPersonLegalId PersonLegalId
        {
            get
            {
                return this.personLegalIdField;
            }
            set
            {
                this.personLegalIdField = value;
            }
        }
    
        /// <remarks/>
        public object Citizenship
        {
            get
            {
                return this.citizenshipField;
            }
            set
            {
                this.citizenshipField = value;
            }
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true, Namespace = "http://ns.hr-xml.org/2007-04-15")]
    public partial class ResumeStructuredXMLResumePersonDescriptorsLegalIdentifiersPersonLegalId
    {
    
        private string idValueField;
    
        /// <remarks/>
        public string IdValue
        {
            get
            {
                return this.idValueField;
            }
            set
            {
                this.idValueField = value;
            }
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)]
    public partial class ResultsHireAbilityXMLResultsProcessingErrors
    {
    
        private ResultsHireAbilityXMLResultsProcessingErrorsError errorField;
    
        /// <remarks/>
        public ResultsHireAbilityXMLResultsProcessingErrorsError Error
        {
            get
            {
                return this.errorField;
            }
            set
            {
                this.errorField = value;
            }
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)]
    public partial class ResultsHireAbilityXMLResultsProcessingErrorsError
    {
    
        private object errorCodeField;
    
        private object errorMessageField;
    
        private ulong idField;
    
        /// <remarks/>
        public object ErrorCode
        {
            get
            {
                return this.errorCodeField;
            }
            set
            {
                this.errorCodeField = value;
            }
        }
    
        /// <remarks/>
        public object ErrorMessage
        {
            get
            {
                return this.errorMessageField;
            }
            set
            {
                this.errorMessageField = value;
            }
        }
    
        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute()]
        public ulong id
        {
            get
            {
                return this.idField;
            }
            set
            {
                this.idField = value;
            }
        }
    }
    
    
    

    Thanks for your assistance.

    Wednesday, September 23, 2020 8:56 PM
  • User475983607 posted

    I just simply copied the XML from the first post and it worked perfectly.  The error you are seeing has to do with the namespace.  I assume the file is not the same as the original XML.  You'll need to debug your code to figure out where you went wrong.

    Wednesday, September 23, 2020 11:05 PM
  • User-2012457684 posted

    Thank you for telling me about Serialization.   

    The first error was due to hidden line feeds in the XML.

    the 2nd error was because I was working with a newer file that I had sent over in my tests  (the pansy trellis example is actually no longer valid)

    I found that the vendor had an expired XML file in their documentation.   They had a newer file showing the xml structure as a sample but it did not have multiple items so when it was serialized Visual Studio created the classes as if they were string instead of string[]   I went to the schemas and found where I needed to add multiple examples  then created new classes from that and was able to get that working.   

    Thursday, September 24, 2020 11:11 PM