ContactXML Version 1.1a 2003 3 12 1
http://www.xmlconsortium.org/ Copyright (C) XML Consortium 2002-2003. All Rights Reserved 2
ContactXML Web URL ContactXML UTF-8 ContactXML ContactXML XML Version 1.0 ContactXML http://www.xmlns.org/2002/contactxml ContactXML ContactXML ContactXMLItem 1 ContactXMLItem ContactXMLItem PersonName, PersonID, Address, Occupation, Phone, Email, InstantMessaging, Web, Image, Extension 3
ContactXML <?xml version="1.0"?> <!DOCTYPE ContactXML SYSTEM "ContactXML_01_01a_20030312.dtd"> <ContactXML xmlns="http://www.xmlns.org/2002/contactxml" version="1.1" creator="http://www.foo.com/bar/meishi-app/1.1"> <ContactXMLItem> <PersonName> <PersonNameItem xml:lang="ja-jp"> <FullName pronunciation=" "> </FullName> <FirstName pronunciation=" "> </FirstName> <LastName pronunciation=" "> </LastName> </PersonNameItem> </PersonName> <PersonID> <PersonIDItem codedomain="drivinglicense">888801231110</personiditem> </PersonID> <Address> </Address> <AddressItem locationtype="office"> <AddressCode codedomain="country">jp</addresscode> <AddressCode codedomain="zip7">123-4567</addresscode> <AddressLine addresslinetype="country"> </AddressLine> <AddressLine addresslinetype="prefecture"> </AddressLine> <AddressLine addresslinetype="city"> </AddressLine> <AddressLine addresslinetype="town"> </AddressLine> <AddressLine addresslinetype="number">1-2-3</addressline> <AddressLine addresslinetype="building">nt 10F</AddressLine> </AddressItem> <Occupation> <OccupationItem xml:lang="ja-jp"> <OrganizationName>ABC </OrganizationName> <Department> </Department> <JobTitle> </JobTitle> </OccupationItem> </Occupation> 4
<Phone> <PhoneItem phonedevice="phone" usage="official">+81-3-1234-5678</phoneitem> <PhoneItem phonedevice="cellular" usage="private">090-8765-4321</phoneitem> </Phone> <Email> <EmailItem emaildevice="pc" usage="official">aabbcc@abcd.com</emailitem> </Email> <InstantMessaging> <InstantMessagingItem IMDomain="ICQ" usage="unknown"> 5678901234</InstantMessagingItem> </InstantMessaging> <Web> <WebItem usage="official">http://www.abcd.com/</webitem> </Web> <Image> <ImageItem contenttype="image/jpeg" imagesemantics="portrait" url="http://www.abcd.com/images/aabbcc.jpg"/> </Image> <Extension> <ExtensionItem extensiontype="common" name="birthday">1975-01-01</extensionitem> <ExtensionItem extensiontype="common" name="maidenname" xml:lang="ja-jp"> </ExtensionItem> </Extension> </ContactXMLItem> </ContactXML> 5
ContactXML ContactXML ContactXML <ContactXML> ContactXML version, creator version ContactXML enumeration 1.1 creator Extension String (URL) URL ContactXML http://www.foo.com/bar/meishi-app/1.0 6
<ContactXMLItem> 1 lastmodifieddate lastmodifieddate string (ISO 8601 RFC1123) YYYY-MM-DDThh:mm:ssTZD YYYY-MM-DD 2001-08-13T19:20:30+09:00 RFC1123 Wed, 27 Feb 2002 20:28:42 +0900 <PersonName> <PersonNameItem> <PersonNameItem> 1 xml:lang xml:lang string XML1.0 IETF RFC 1766 7
ja-jp ExtensionItem <FullName> PersonNameItem xml:lang ja-jp ISO/IEC 10036 Embedding Glyph Identifiers in XML Documents http://nan.piedey.co.jp/~autumn/glyphxchg.html pronunciation <FirstName> John 0 UNICODE2.0 pronunciation <MiddleName> J, Paul 8
0 UNICODE2.0 pronunciation <LastName> Smith 0 1 UNICODE2.0 pronunciation pronunciation string <PersonID> ID <PersonIDItem> 0 <PersonIDItem> ID 9
codedomain codedomain codedomain ID string Passport DrivingLicense InsuranceCertificate UserDefined ID <Address> <AddressItem> 0 <AddressItem> 1 locationtype, preference locationtype AddressItem string Home 10
Office Origin Others Unknown AddressItem AddressItem Home, Office, Origin Others Unknown preference True locationtype locationtype True False preference Enumeration True False <AddressCode> codedomain 0 codedomain 11
codedomain ID ID string CountryISO3166 2 Appendix A. JP ZIP7 7-123-4567 Prefecture2 JIS JIS55 JIS KAJO11 JGDC1111 Latitude N35.37.28 N S 0-90 0-60 0-60 Latitude Longitude Longitude E139.37.52 E W 0-180 0-60 0-60 Longitude Latitude UserDefined 12
<FullAddress> FullAddress xml:lang ja-jp 1-2-3 NT 10F 765-4321 1234-5 2 0 1 pronunciation, xml:lang <AddressLine> AddressLine xml:lang AddressLine 0 addresslinetype, pronunciation, xml:lang addresslinetype 13
string Country Prefecture City AddressCode ZIP7 City Town Number Building POB AddressCode ZIP7 POB Others Town Number Building Others Unknown <Occupation> <OccupationItem> 0 <OccupationItem> OccupationItem xml:lang, preference 14
preference True xml:lang xml:lang True False preference enumeration True False <OrganizationName> 0 pronunciation <Department> 0 1 pronunciation <JobTitle> 0 1 15
pronunciation <Phone> 0 1 < PhoneItem > <PhoneItem> 1 - + phonedevice, usage, preference phonedevice enumeration Phone Fax Cellular PHS r Others Unknown 16
usage enumeration Official Private Others Unknown preference True Usage Usage True False preference enumeration True False <Email> 0 <EmailItem> 1 17
emaildevice, usage, preference emaildevice enumeration PC PDA Cellular PHS Others Unknown <InstantMessaging> 0 <InstantMessagingItem> 1 ID IMDomain, usage, preference IMDomain enumeration AOL, ICQ, MSN, Yahoo, Others, Unknown 18
<Web> Web Web Web 0 <WebItem> Web URL 1 URL usage, peference <Image> 0 <ImageItem> base64 string PersonName url 1 BASE64 Web URL 19
contenttype, imagesemantics, url contenttype MIME string MIME image/jpeg, image/gif, image/png, image/tiff, image/bmp ImageItem BASE64 imagesemantics enumeration Portrait Logo Others Unknown url ImageItem base64 string (URL) http://www.abcd.com/images/aabbcc.jpg <Extension> 20
0 1 <ExtensionItem> 1 name ExtensionItem name name, extensiontype, xml:lang name string extensiontype Common ExtensionItem name extensiontype enumeration Common Extended ExtensionItem name Extension extensiontype Common <ExtensionItem extensiontype="common" name="birthday"> 21
2001-12-15 </ExtensionItem> 2001 12 15 Nickname Suffix MaidenName Gender BloodType Birthday Age Memo CreatedDate NamesOfFamily Male, Female ABO A, B, AB, O YYYY-MM-DD Integer YYYY-MM-DDThh:mm:ssTZD 22