Design of a Simple XML Language

Problem Statment

The purpose of this assignment is to design a simple XML language that you would use to describe the entitites contained within a resume. High-level entities will include:


Keyword Design (DTD)

XML Tag Description
<resume> ... </resume> resume
<name> .... </name> name
<fname> ... </fname> first name
<lname> ... </lname> last name
<address> .... </address> address
<street> .... </street> street
<city> .... </city> city
<state> .... </state> state
<category> .... </category> category
<institution> .... </institution> institution
<date> .... </date> date (empty)
<dfrom> .... </dfrom> date from
<dto> .... </dto> date to
<month> .... </month> month
<year> .... </year> year
<position> ... </position> position
<descript> .... </descript> description


Examples of XML Markup

<resume>
<category> Contact Information </category>	
	<name>
		<fname> Dustin </fname><lname> Nerlinger </lname>
	</name>
	<address>
		<street> 4806 Tecumseh Street </street>
		<city> College Park <city>
		<state> Maryland <state>
		<zip> 20740 <zip>
	</address>
	<email> dmn26@umd.edu </email>

<category> Education </category>
	<institution> University of Maryland </institution>
		<city> College Park </city>
		<state> Maryland </state>
		<date>
			<from><month> August </month><year> 2006 </year></from>
			<to><month> May </month><year> 2011 </year></to>
		</date>
		<descript> Bachelor of Science, Civil Engineering: Infrastructure, Project Management minor, Architecture minor, 89 credits, GPA 3.1 </descript>
	<institution> Lingnore High School </institution>
		<city> Frederick </city>
		<state> Maryland </state>
		<date>
			<from><month> August </month><year> 2002 </year></from>
			<to><month> May </month><year> 2006 </year></to>
		</date>
		<descript> Received Highest Honors, Member of the National Honor Society, Maryland Distinguished Scholar (Honorable Mention), LHS Graduation Project Award of Merit, GPA 3.9 </descript>
	<institution> Cornell University </institution> 
		<city> Ithaca </city>
		<state> New York </state>
		<date>
			<from><month> June </month><year> 2005 </year></from>
			<to><month> August </month><year> 2005 </year></to>
		</date>
		<descript> Completed 2 introductory Architecture courses, lecture and studio, during summer semester, GPA 3.0  </descript>

<category> Employment </category>
	<employer> Holiday Inn </employer>
		<city> Greenbelt </city>
		<state> Maryland </state>
		<date>
			<from><month> July </month><year> 2008 </year></from>
			<to><month> October </month><year> 2009 </year></to>
		</date>
		<position> Guest Services Associate (GSA) </position>
		<descript> Managing room inventory, finances and customer relations </descript>

	<employer> Cre9 Desgin LLC </employer>
		<city> Frederick </city>
		<state> Maryland </state>
		<date>
			<from><month> May </month><year> 2007 </year></from>
			<to><month> August </month><year> 2008 </year></to>
		</date>
		<position> Draftsman </position>
		<descript> Developed viable commercial plans specialized for the client and his/her company.s specific needs including, but not limited to medical facilities, newspaper plants, and general office buildings </descript>

	<employer> Caddworks Incorporated </employer>
		<city> Frederick </city>
		<state> Maryland </state>
		<date>
			<from><month> May </month><year> 2005 </year></from>
			<to><month> August </month><year> 2008 </year></to>
		</date>
		<position> Draftsman </position>
		<descript> Designed and developed viable residential plans for new homes/apartments, additions, and renovations while working one on one with clients to fulfill their specific requests in both rural and urban settings </descript>
</resume>


Hierarchy of Keywords and Content

Back to Home Page