Appendix G - File Interpretation and Navigation
This appendix contains XML Path Language (XPath) statements that can be used to locate the person's identity-related data elements in the sample validated exchange file shown in Appendix E. Exchanging parties should use the latest XPath statements available, agreed by the parties.
Xpath statements to locate a persons identity
|
xPIL v3.0 Data element |
XPath statement |
|
First Name |
//Party/PartyName/PersonName/NameElement where ElementType = "FirstName" |
|
Last Name |
//Party/PartyName/PersonName/NameElement where ElementType = "LastName" |
|
Middle Name |
//Party/PartyName/PersonName/NameElement where ElementType = "MiddleName" |
|
Gender |
//Party/PersonInfo (Gender) = "enumeration list value for gender" |
|
Mother's Name |
//Party/BirthInfo/BirthElement where BirthInfoElement(Type) = "MothersName" |
|
Birth Year |
//Party/BirthInfo/BirthInfoElement where BirthInfoElement(Type) = "BirthYear" |
|
Birth Month |
//Party/BirthInfo/BirthInfoElement where BirthInfoElement(Type) = "BirthMonth" |
|
Birth Day |
//Party/BirthInfo/BirthInfoElement where BirthInfoElement(Type) = "BirthDay" |
|
Birth Time |
//Party/BirthInfo/BirthInfoElement where BirthInfoElement(Type) = "BirthTime" |
|
Place of Birth (Country) |
//Party/BirthInfo/BirthPlaceDetails/Country/NameElement where NameElement(Abbreviation)= "true" |
|
Place of Birth (Locality) |
//Party/BirthInfo/BirthPlaceDetails/Locality/NameElement where NameElement(NameType)= "Type" |

