Mapping xml data

I am working on mapping my xml file, please see a basic structure with no data below:

</ManagingAuthority>
<IssueDate></IssueDate>
<OutgoingGenericCommunication>
	<Voter>
		<VoterIdentification Id="">
			<VoterName>
				<xnl:NameElement></xnl:NameElement>
			</VoterName>
			<VoterId></VoterId>
			<nswec:NSWECNonVoter>
				<nswec:LetterID></nswec:LetterID>
				<nswec:Template></nswec:Template>
				<nswec:TemplateVersion></nswec:TemplateVersion>
				<nswec:OriginalIssueDate></nswec:OriginalIssueDate>
				<nswec:IssueDate></nswec:IssueDate>
				<nswec:DueDate></nswec:DueDate>
				<nswec:AECElectorRollData>
					<nswec:AECFederalAreaCode/>
					<nswec:AECFederalAreaDescription/>
					<nswec:AECStateAreaCode></nswec:AECStateAreaCode>
					<nswec:AECStateAreaDescription></nswec:AECStateAreaDescription>
					<nswec:AECLGAreaCode></nswec:AECLGAreaCode>
					<nswec:AECLGAreaDescription></nswec:AECLGAreaDescription>
					<nswec:AECLGWardDescription></nswec:AECLGWardDescription>
				</nswec:AECElectorRollData>
			</nswec:NSWECNonVoter>
		</VoterIdentification>
		<VoterContact>
			<MailingAddress xal:AddressID="" xal:AddressIDType="">
				<xal:FreeTextAddress>
					<xal:AddressLine xal:Type="AddressLine1"></xal:AddressLine>
					<xal:AddressLine xal:Type="AddressLine2"></xal:AddressLine>
				</xal:FreeTextAddress>
			</MailingAddress>
		</VoterContact>
	</Voter>
	<Voter>
		<VoterIdentification Id="">
			<VoterName>
				<xnl:NameElement>/xnl:NameElement>
			</VoterName>
			<VoterId></VoterId>
			<nswec:NSWECNonVoter>
				<nswec:LetterID></nswec:LetterID>
				<nswec:Template></nswec:Template>
				<nswec:TemplateVersion></nswec:TemplateVersion>
				<nswec:OriginalIssueDate></nswec:OriginalIssueDate>
				<nswec:IssueDate></nswec:IssueDate>
				<nswec:DueDate>2</nswec:DueDate>
				<nswec:AECElectorRollData>
					<nswec:AECFederalAreaCode/>
					<nswec:AECFederalAreaDescription/>
					<nswec:AECStateAreaCode></nswec:AECStateAreaCode>
					<nswec:AECStateAreaDescription></nswec:AECStateAreaDescription>
					<nswec:AECLGAreaCode></nswec:AECLGAreaCode>
					<nswec:AECLGAreaDescription></nswec:AECLGAreaDescription>
					<nswec:AECLGWardDescription></nswec:AECLGWardDescription>
				</nswec:AECElectorRollData>
			</nswec:NSWECNonVoter>
		</VoterIdentification>
		<VoterContact>
			<MailingAddress xal:AddressID="" xal:AddressIDType="">
				<xal:FreeTextAddress>
					<xal:AddressLine xal:Type="AddressLine1"></xal:AddressLine>
					<xal:AddressLine xal:Type="AddressLine2"></xal:AddressLine>
				</xal:FreeTextAddress>
			</MailingAddress>
		</VoterContact>
	</Voter>	
	<EventIdentifier IdNumber="">
		<EventName></EventName>
		<EventQualifier IdNumber=""/>
	</EventIdentifier>
	<Messages>
		<Message Type="DeliveryChannel"></Message>
		<Message Type="BatchNumber"></Message>
		<Message Type="RollRequestID"></Message>
		<Message Type="EventGroupUniqueID"></Message>
		<Message Type="PollingDate"></Message>
		<Message Type="Disclaimer"></Message>
		<Message Type="AreaText"></Message>
	</Messages>
</OutgoingGenericCommunication>

I need each ‘Voter’ to be it’s own record. To do this I have set my input data path to the below and get the desired results with each voter as it’s own record. My issue is I need the data that sits below my voter data (Event Identifier and Messages) to be displayed in every record. This data will be the same for every record and is only present once at the end of my xml file. The way i have it set up now the Event Identifier and Messages data isn’t even being displayed in the xml viewer. Is there a way to map these values and have it repeat for every record?

Thanks in advance!

Hello @bonsuth ,

Welcome to our OL Forum community!

To achieve what you are looking for you can check the option Show all elements under Settings pane → Input Data section, as shown in the following image.

Note: Having the option Show all elements checked might slow down the processing, so if you don’t need any information from the higher-level nodes that follow that specific element, it is recommended to leave this option unchecked.