[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Subject: Sample examples for xNAL
Hi all I have now used GlobalAddress V1.2 Spec., and have made some changes to it to convert it to xAL DTD (as OASIS Spec) and then have integrated it with xNAL DTD. Both xNL and xAL are referenced by xNAL DTD. Keeping the name and address standards (DTD) separate, makes maintenance easier in the long run as these standards become truly global". Moreover, when I started looking into using xAL for different type of addresses such as C/O, Military Addresses, addresses with VIA, addresses with NEAR, addresses with multiple subpremises such as (Building->Block->Level->Suite), I had difficulty in representing them with xAL because of some strict rules that were in place. I therefore, did some slight modifications to xAL by relaxing some of the strict rules to represent different classifications of addresses. Please find enclosed a text file consisting of few different addresses that I have tried on xAL. Note that the last two address examples in the file uses xNAL which in turn references xNL and xAL DTDs. The more addresses we start looking into (which we have to), the better these standards will turn out to be. Please go through the documents, specs. and examples and provide feedback. There is scope for tremendous improvements in this specs and this is where the challenge is. Note that the objective of these standards is to enable organisations/customers/users to represent their name and address data in a standard way which will enable them to understand and interchange their data across their systems, tools, platforms, etc. The standards must provide enough flexibility to users to represent their data in a consistent way. The standards are not developed to fullfil the rules and regulations set by the postal authorities or postal unions of countries. However, flexibility should be provided in the standards for such rules and regulations to be applied and at the same time help businesses using name and address data to define their data in a uniform and consistemt manner. References: GlobalAddressSpec: Global Address XMl Data Model for Single Addresses by AND Solutions NAML : Name and Address Markup Language by MasterSoft International CIML : Customer Identity Markup Language by MasterSoft International xAL : OASIS XML Specs. for Address Standards (Integrates GlobalAddressSpec., and the Address Component of NAML xNL: OASIS XML Specs. for Name Standards xNAL: OASIS XML Name and Address Specs. (Uses xNL and xAL as references) xCIL: OASIS XML Customer Information Specs. (Uses xNL and xAL as references also) Cheers Ram
<!-- Level 12, 67 Albert Aveune, Chatswood, NSW 2209, Australia --> <AddressDetails> <AddressLines> <AddressLine>Level 12, 67 Albert Avenue</AddressLine> <AddressLine>Chatswood</AddressLine> <AddressLine>NSW 2209</AddressLine> <AddressLine>Australia</AddressLine> </AddressLines> </AddressDetails> <!-- POBox: 773, Chatswood,NSW 2057, Australia --> <AddressDetails> <Country> <CountryName>Australia</CountryName> <AdministrativeArea AdministrativeAreaType="State"> <AdministrativeAreaName>NSW</AdministrativeAreaName> <Locality> <LocalityName>CHATSWOOD</LocalityName> <PostBox PostBoxType="POBox"> <PostBoxNumber>773</PostBoxNumber> <PostalCode> <PostalCodeNumber>2057</PostalCodeNumber> </PostalCode> </PostBox> </Locality> </AdministrativeArea> </Country> </AddressDetails> <!-- UNIT 12, 23 Archer Street, Chatswood, NSW 2067, Australia --> <AddressDetails> <Country> <CountryName>Australia</CountryName> <AdministrativeArea AdministrativeAreaType="State"> <AdministrativeAreaName>NSW</AdministrativeAreaName> <Locality> <LocalityName>CHATSWOOD</LocalityName> <Street> <StreetName>ARCHER</StreetName> <StreetTrailingType>STREET</StreetTrailingType> <StreetNumber>23</StreetNumber> <Premise PremiseType="UNIT"> <PremiseNumber>12</PremiseNumber> <PostalCode> <PostalCodeNumber>2067</PostalCodeNumber> </PostalCode> </Premise> </Street> </Locality> </AdministrativeArea> </Country> </AddressDetails> <!-- block 2, RIPPON BUILDING Level 12, Suite 1A 47 Kinsgton Avenue North, North Ryde, NSW 2113, Australia --> <AddressDetails> <Country> <CountryName>Australia</CountryName> <AdministrativeArea AdministrativeAreaType="State"> <AdministrativeAreaName>NSW</AdministrativeAreaName> <Locality> <LocalityName>NORTH RYDE</LocalityName> <Street> <StreetName>KINGSTON</StreetName> <StreetTrailingType>AVENUE</StreetTrailingType> <StreetNumber>47</StreetNumber> <StreetPostDirection>NORTH</StreetPostDirection> <Premise PremiseType="BUILDING"> <PremiseName>RIPPON</PremiseName> <SubPremise SubPremiseType="SUITE"> <SubPremiseNumber>1</SubPremiseNumber> <SubPremiseNumberSuffix>A</SubPremiseNumberSuffix> <SubPremise SubPremiseType="LEVEL"> <SubPremiseNumber>2</SubPremiseNumber> <SubPremise SubPremiseType="BLOCK"> <SubPremiseNumber>2</SubPremiseNumber> </SubPremise> </SubPremise> </SubPremise> </Premise> </Street> <PostalCode> <PostalCodeNumber>2113</PostalCodeNumber> </PostalCode> </Locality> </AdministrativeArea> </Country> </AddressDetails> <!--- 1 College Green, Singapore 1129 --> <AddressDetails> <Country> <CountryCode>SG</CountryCode> <CountryName>Singapore</CountryName> <Street> <StreetName>College Green</StreetName> <StreetNumber>1</StreetNumber> <PostalCode> <PostalCodeNumber>1129</PostalCodeNumber> </PostalCode> </Street> </Country> </AddressDetails> <!-- 1 Jalan Satu, Near Masjid, 3150 Tronoh, Perak, Malaysia --> <AddressDetails> <Country> <CountryName>Malaysia</CountryName> <AdministrativeArea> <AdministrativeAreaName>Perak</AdministrativeAreaName> <Locality> <LocalityName>Tronoh</LocalityName> <Street> <StreetName>Jalan Satu</StreetName> <StreetNumber>1</StreetNumber> <Premise PremiseType="Mosque" PremiseDependency="STREET" PremiseDependencyType="NEAR"> <PremiseName>Masjid</PremiseName> </Premise> </Street> <PostalCode> <PostalCodeNumber>3150</PostalCodeNumber> </PostalCode> </Locality> </AdministrativeArea> </Country> </AddressDetails> <!-- House No.10, Corner of North Usman Road and East Belinda Crescent, Singapore 1123 --> <AddressDetails> <Country> <CountryName>Singapore</CountryName> <Street MultipleStreetRelationshipType="CORNER OF"> <StreetName>Usman</StreetName> <StreetPreDirection>North</StreetPreDirection> <StreetTrailingType>Road</StreetTrailingType> <DependentStreet> <StreetName>Belinda</StreetName> <StreetPreDirection>East</StreetPreDirection> <StreetTrailingType>Cresent</StreetTrailingType> </DependentStreet> <Premise PremiseType="House"> <PremiseNumber>10</PremiseNumber> <PostalCode> <PostalCodeNumber>1123</PostalCodeNumber> </PostalCode> </Premise> </Street> </Country> </AddressDetails> <!-- 21 Karpagambal Nagar, Via-Thiruvanmiyur, Kottivakkam (PO), Chennai 600041, Tamilnadu, India --> <AddressDetails> <Country> <CountryName>India</CountryName> <AdministrativeArea AdministrativeAreaType="State"> <AdministrativeAreaName>Tamilnadu</AdministrativeAreaName> <Locality> <LocalityName>Thiruvanmiyur</LocalityName> <PostOffice> <PostOfficeName>Kottivakkam</PostOfficeName> <PostalCode> <PostalCodeNumber>600 041</PostalCodeNumber> </PostalCode> </PostOffice> <DependentLocality DependentLocalityType="Suburb" DependentLocalityConnector="Via"> <DependentLocalityName>Karpagambal Nagar</DependentLocalityName> <Premise PremiseType="House"> <PremiseNumber>21</PremiseNumber> </Premise> </DependentLocality> </Locality> </AdministrativeArea> </Country> </AddressDetails> <!-- Floor 4, Ste 5, Block C Carnegie VIII 43 West Archer Street Boulder, CO 80302-4598, USA --> <AddressDetails> <Country> <CountryCode>US</CountryCode> <CountryName>USA</CountryName> <AdministrativeArea> <AdministrativeAreaName>COLORADO</AdministrativeAreaName> <Locality> <LocalityName>BOULDER</LocalityName> <Street> <StreetName>ARCHER</StreetName> <StreetPreDirection>WEST</StreetPreDirection> <StreetTrailingType>STREET</StreetTrailingType> <StreetNumber>43</StreetNumber> <Premise PremiseType="BUILDING"> <PremiseName>CARNEGIE VIII</PremiseName> <SubPremise SubPremiseType="BLOCK"> <SubPremiseNumber>C</SubPremiseNumber> <SubPremise SubPremiseType="STE"> <SubPremiseNumber>5</SubPremiseNumber> <SubPremise SubPremiseType="FLOOR"> <SubPremiseNumber>4</SubPremiseNumber> </SubPremise> </SubPremise> </SubPremise> </Premise> </Street> <PostalCode> <PostalCodeNumber>80302</PostalCodeNumber> <DeliveryPointSuffix>4598</DeliveryPointSuffix> </PostalCode> </Locality> </AdministrativeArea> </Country> </AddressDetails> <!-- Officer Mess, RAAF, Townsville, Australia --> <AddressDetails> <Country> <CountryName>Australia</CountryName> <Locality> <LocalityName>Townsville</LocalityName> <LargeMailUser LargeMailUserType="Military"> <LargeMailUserName>RAAF</LargeMailUserName> <Department> <DepartmentName>Officer Mess</DepartmentName> </Department> </LargeMailUser> </Locality> </Country> </AddressDetails> <!-- 5 Aviation Regiment, RAAF Base, Milpo, Townsville 4814, Australia --> <AddressDetails> <Country> <CountryName>Australia</CountryName> <Locality> <LocalityName>Townsville</LocalityName> <DependentLocality> <DependentLocalityName>Milpo</DependentLocalityName> <LargeMailUser LargeMailUserType="Military"> <LargeMailUserName>RAAF</LargeMailUserName> <LargeMailUserIdentifier>5 Aviation Regiment</LargeMailUserIdentifier> </LargeMailUser> </DependentLocality> <PostalCode> <PostalCodeNumber>4814</PostalCodeNumber> </PostalCode> </Locality> </Country> </AddressDetails> <!-- Building 429 Lavarack Barracks, RAAF, Milpo, Townsville --> <AddressDetails> <Locality> <LocalityName>Townsville</LocalityName> <DependentLocality> <DependentLocalityName>Milpo</DependentLocalityName> <LargeMailUser LargeMailUserType="Military"> <LargeMailUserName>RAAF</LargeMailUserName> <LargeMailUserIdentifier LargeMailUserIdentifierType="BuildingNumber">429</LargeMailUserIdentifier> <BuildingName>Lavarack Barracks</BuildingName> </LargeMailUser> </DependentLocality> </Locality> </AddressDetails> <!-- Mr.Ram V, Kumar, C/O PrivacyLink Pty. Ltd, POBox 773, Chatswood, NSW 2057, Australia --> <xNAL> <CustomerRecord> <xNL> <NameDetails CustomerType="Person"> <PersonNameDetails> <Title>Mr</Title> <FirstNameDetails FirstNameType="GivenName"> <FirstName>Ram</FirstName> </FirstNameDetails> <MiddleName MiddleNameType="Initial"> V </MiddleName> <LastName LastNameType="SurName"> Kumar </LastName> </PersonNameDetails> <DependencyNameDetails DependencyType="CareOf"> <NameDetails CustomerType="Organisation"> <OrganisationName OrganisationNameType="Proprietary Limited"> PrivacyLink </OrganisationName> </NameDetails> </DependencyNameDetails> </NameDetails> </xNL> <xAL> <!-- POBox: 773, Chatswood,NSW 2057, Australia --> <AddressDetails AddressType="Postal" CurrentStatus="Investment" ValidFromDate="1 Jan 2000" ValidToDate="31 March 2000"> <Country> <CountryName>Australia</CountryName> <AdministrativeArea AdministrativeAreaType="State"> <AdministrativeAreaName>NSW</AdministrativeAreaName> <Locality> <LocalityName>CHATSWOOD</LocalityName> <PostBox PostBoxType="POBox"> <PostBoxNumber>773</PostBoxNumber> <PostalCode> <PostalCodeNumber>2057</PostalCodeNumber> </PostalCode> </PostBox> </Locality> </AdministrativeArea> </Country> </AddressDetails> </xAL> </CustomerRecord> <!-- Captain James Ruddock, C/O Australian Armed Forces in East Timor --> <CustomerRecord> <xNL> <NameDetails CustomerType="Person"> <PersonNameDetails> <Title>Captain</Title> <FirstName>James</FirstName> <LastName>Ruddock</LastName> </PersonNameDetails> <DependencyNameDetails DependencyType="CareOf"> <NameDetails CustomerType="Organisation"> <OrganisationName OrganisationNameType="Militiary"> Australian Armed Forces </OrganisationName> </NameDetails> </DependencyNameDetails> </NameDetails> </xNL> <xAL> <AddressDetails> <Country> <CountryName>East Timor</CountryName> </Country> </AddressDetails> </xAL> </CustomerRecord> </xNAL>
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Powered by eList eXpress LLC