MML common format Address expression format |
Element structure chart
![]()
Element list
Elements
Attribute
Datatypes
Occurrence
Table id
1.
mmlAd:Address
optional
mmlAd:repCode
string
#REQUIRED
MML0002
mmlAd:addressClass
string
#IMPLIED
mmlAd:tableId
string
#IMPLIED
1.1
mmlAd:full
string
?
1.2
mmlAd:prefecture
string
?
1.3
mmlAd:city
string
?
1.4
mmlAd:town
string
?
1.5
mmlAd:homeNumber
string
?
1.6
mmlAd:zip
string
?
1.7
mmlAd:countryCode
string
?
Occurrence None: 1 appearance without fail, ?: 0 or 1 appearance, +: 1 or more appearance, *: 0 or more appearance
#REQUIRED: Mandatory attribute, #IMPLIED: Omissible attribute
Element explanation
1.mmlAd:Address (address expression format)
[Detail] Common format that indicates address. Select a full address or subdivided 4 elements (from 1.2. to 1.5.).
[Attribute]
Attribute name
Data type
Omission
Table used
Explanation
mmlAd:repCode
string
#REQUIRED
optional
Expression method
mmlAd:addressClass
string
#IMPLIED
MML0002
Address class code
mmlAd:tableId
string
#IMPLIED
Table name specifying the above expression
[Example] Work address expressed alphabetically
<mmlAd:Address mmlAd:repCode = "A" mmlAd:addressClass = "business" mmlAd:tableId = "MML0025">
1.1.mmlAd:full
[Detail] A full address
[Data type] string
[Omission] Omission allowed
1.2.mmlAd:prefecture
[Detail] Prefecture
[Data type] string
[Omission] Omission allowed
1.3.mmlAd:city
[Detail] City, Ward, Gun
[Data type] string
[Omission] Omission allowed
1.4.mmlAd:town
[Detail] Town, Village
[Data type] string
[Omission] Omission allowed
1.5.mmlAd:homeNumber
[Detail] Remaining address details such as house number, street name, apartment name, room number, etc.
[Data type] string
[Omission] Omission allowed
1.6.mmlAd:zip
[Detail] Zip code
[Data type] string
[Omission] Omission allowed
1.7.mmlAd:countryCode
[Detail] Country code. ISO 3166 A3 code is used.
[Data type] string
[Omission] Omission allowed
mmlAd:Address (address expression format) sample instance
For a full address
<mmlAd:Address mmlAd:repCode = "A" mmlAd:addressClass = "business" mmlAd:tableId = "MML0025">
<mmlAd:full>5200 Kihara, Kiyotake-cho, Miyazaki-gun, Miyazaki-prefecture</mmlAd:full>
<mmlAd:zip>889-1692</mmlAd:zip>
<mmlAd:countryCode>JPN</mmlAd:countryCode></mmlAd:Address>
For divided address
<mmlAd:Address mmlAd:repCode = "A" mmlAd:addressClass = "business" mmlAd:tableId = "MML0025">
<mmlAd:prefecture>Miyazaki</mmlAd:prefecture>
<mmlAd:city>Miyazaki</mmlAd:city>
<mmlAd:town>Kiyotake</mmlAd:town>
<mmlAd:homeNumber>5200 Kihara</mmlAd:homeNumber>
<mmlAd:zip>889-1692</mmlAd:zip>
<mmlAd:countryCode>JPN</mmlAd:countryCode></mmlAd:Address>