Homework 2

Problem Statement:
My language will cover the high level areas of Name, Home Address, and Employment. Within the Name entity will be tags for First, Middle, and Last names. The Home Address entity will have tags for Street Address, City, State, Zip Code, Phone Number, and Email Address. The Employment Entity will have tags for Employer, Location, Start Date, End Date, Position, and Description.

Keywords

Tag Meaning
<Name> ... </Name> Enters Name Entity
<first> ... </first> First name
<middle> ... </middle> Middle name
<last> ... </last> Last name
<homeaddress> ... </homeaddress> Enters Home Address Entity
<street> ... </street> Street Address
<city> ... </city> City
<state> ... </state> State
<zip> ... </zip> Zip Code
<phone> ... </phone> Phone Number
<email> ... </email> Email Address
<employment> ... </employment> Enters Employment Entity
<employer> ... </employer> New Employer
<company> ... </company> Company
<location> ... </location> Location
<sdate> ... </sdate> Start Date
<edate> ... </edate> End Date
<position> ... </position> Position
<descr> ... </descr> Description

Examples of XML Markup

Name Home Address Employment
<name>
<first> ... </first>
<middle> ... </middle>
<last> ... </last>
</name>
<homeaddress>
<street> ... </street>
<city> ... </city>
<state> ... </state>
<zip> ... </zip>
<phone> ... </phone>
<email> ... </email>
</homeaddress>
<employment>
<employer>
<company> ... </company>
<location> ... </location>
<sdate> ... </sdate>
<edate> ... </edate>
<position> ... </position>
<descr> ... </descr>
</employer>
</employment>

Hierarchy of Keywords and Content

Back