XML Worksheet #2

BEGIN:VCARD
VERSION:2.1
N:Jennifer DiLorenzo;
FN:Jennifer DiLorenzo
ORG:Urban Coast Institute;TOP Partners
TITLE:
EMAIL;type=INTERNET;type=WORK;type=pref:jdiloren@monmouth.edu
TEL;WORK;VOICE
TEL;WORK;FAX
ADR;WORK;ENCODING=QUOTED-PRINTABLE;;;;
LABEL:Monmouth University 400 Cedar Avenue West Long Branch, NJ 07764-1898;WORK;ENCODING=QUOTED-PRINTABLE
REV:20080401T145132Z
END:VCARD
In class we encoded the same information using the basic syntax rules of XML? My attempt was:
<?xml version="1.0"?>

<vcard version="2.1">
    <n>Jennifer DiLorenzo</n>
    <fn>Jennifer DiLorenzo</fn>
    <org status="partner">Urban Coast Institute</org>
    <title></title>
    <email type="internet" location="work">jdiloren@monmouth.edu</email>
    <tel type="voice" location="work"></tel>
    <tel type="fax" location="work"></tel>
    <address type="label" encoding="QUOTED-PRINTABLE" location="work">
        <street1>Monmouth University</street1>
        <street2>400 Cedar Avenue West</street2>
        <city>Long Branch</city>
        <state>NJ</state>
        <zip type="99999-9999">07764-1898</zip>
    </address>
    <address type="printable" location="work">
    </address>
    <revision>20080401T145132Z</revision>
</vcard>
which passes W3C validation. You can now create an XML Schema for this attempt.

Otherwise, you can research the structures used for postal addresses in the US, Japan and Brazil. Can you write the relevant XML Schema group node so that it supports (and can validate) all three t forms of international addresses?

Or, you can take the XML exam and provide me your answers for your learning purposes.