data mapping exercise instructions

Upload: andrew

Post on 25-Feb-2018

217 views

Category:

Documents


0 download

TRANSCRIPT

  • 7/25/2019 Data Mapping Exercise Instructions

    1/2

    CSIS 354

    DATAMAPPINGINSTRUCTIONS

    An XML Schema describes the structure of an XML document. This is important in order toachieve a we!formed and vaid XML document. "or this assi#nment$ %ou wi create an XMLmappin# Schema. &ou ma% create it in one of two wa%s'

    (.) *% writin# it in an editor of %our choice$ or

    +.) *% readin# the XML fie into a strin# and then creatin# the schema from that strin#.

    Step 1' ,se the foowin# code to create an XML fie'

    -/m version01(.21 encodin#01,T"!1-breafast6menu-food-name*e#ian 7affes-8name-price95.:5-8price

    -descriptionTwo of our famous *e#ian 7affes with pent% of rea mape s%rup-8description-caories;52-8caories-8food-food-nameStrawberr% *e#ian 7affes-8name-price9

  • 7/25/2019 Data Mapping Exercise Instructions

    2/2

    CSIS 354

    -name>omest%e *reafast-8name-price9;.:5-8price-descriptionTwo e##s$ bacon or sausa#e$ toast$ and our ever!popuar hash browns-8description

    -caories:52-8caories-8food-8breafast6menu

    Step 2' Create an XML Schema. This XML fie wi have an ./sd e/tension once saved. &ou wineed these basic eements to start off %our document'

    -/m version01(.21 encodin#01,T"!1 -/s'schema /mns'/s01http'88www.w3.or#8+22(8XMLSchema1

    &our schema code #oes here--

    -8/s'schema

    Submit both the XML fie and the ./sd fie in a ?ipped fie.

    Submit this assi#nment b% (('5: p.m. @T) on Monda% of Modue87ee 4.

    =a#e + of +