Intro xml authoring | Computer Science homework help

Document must look like the screenshot.

 

Benjamin needs your help with a document that lists some of Map Finds For You’s map products.

 

The document contains a root element named products with one or more occurrences of the product element containing information on map products. The product element contains five child elements— name , versionDate , desc , an optional isbn , and price . The name element stores the name of the prod-uct and supports two attributes— pid , the ID number of the product; and category , the type of product ( historical , state , or parks ). The versionDate element also supports an optional surveyDate attribute that indicates the date of the map survey, if known. The desc element stores a description of the product. The optional isbn element stores the ISBN for the product. The price element stores the name of the product and supports two attributes— format , the format of the product ( flat or raised ) with a default of flat ; and media , the media type of the product ( paper or electronic )Therefore, your task will be to create the DTD for the document.Complete the following:

 

1. Using your text editor, open the prodtxt.xml file, enter your name and today’s date in the comment section of the file, and then save the file as products.xml .

 

2. In the products.xml le, insert an internal DTD for the root element products directly after the comment section and before the opening tag.

 

3. Within the internal DTD, declare the following items:

a. The products element, containing at least one occurrence of the child element product

b. The product element, containing five child elements in the sequence name , versionDate , desc , an optional isbn , and price

c. The name , versionDate , desc , isbn , and price elements, each containing parsed character data

 

4. Add the following attribute declarations to the product file:

a. For the name element, a required pid attribute as an ID

b. For the name element, a required category attribute equal to historical , state , or parks

c. For the versionDate element, an optional surveyDate attribute containing the date of the survey

d. For the price element, an optional format attribute equal to either flat or raised , with a default of flat

e. For the price element, a required media attribute equal to either paper or electronic

 

5. On the same line as the format attribute definition, insert a comment containing the text format default is flat .

 

6. Save your changes to the products.xml file, and then use Exchanger XML Editor or another XML tool to verify that the document is well formed.

 

7. Validate the document. If necessary, correct errors one at a time and revalidate until the document is valid.

 

prodtxt.xml Document

<?xml version=”1.0″ encoding=”UTF-8″ standalone=”no” ?>

<!–

   New Perspectives on XML

   Tutorial 2

   Review Assignments

 

   List of maps sold by Map Finds For You

   Author:   

   Date:      

 

   Filename:         products.xml

–>

 

<products>

   <product>

      <name pid=”HM1002P” category=”historical”>North America 1849</name>

      <versionDate surveyDate=”1849″>1968</versionDate>     

      <desc>This historical map of North America includes part of the West India Islands. 

      Old style colors are used to outline boundaries of the United States. 30 x 38 inches. 

      </desc>

      <price media=”electronic”>$38.00</price>

   </product>

   <product>

      <name pid=”HM3042P” category=”historical”>Lewis and Clark: A Legacy of Science</name>

      <versionDate>2003</versionDate>

      <desc>This Lewis and Clark poster commemorating the bicentennial of this incredible 

      journey of discovery features two maps in parallel view: above is a beautiful reproduction 

      of the 1814 Lewis and Clark map; also included is the same geographic area depicted with 

      current remote sensing technology in a colorful image of the American landscape. 42 x 44.5 inches.

      </desc>

      <isbn>978-0-607-99721-7</isbn>

      <price format=”flat” media=”paper”>$5.50</price>

   </product>

   <product>

      <name pid=”SM012P” category=”state”>United States: Wisconsin</name>

      <versionDate>1968</versionDate>

      <desc>This state map of Wisconsin outlines borders of the state and its counties.  Some

      topography is included.  46 x 45 inches.

      </desc>

      <isbn>978-0-607-59264-1</isbn>

      <price format=”flat” media=”paper”>$1.00</price>

   </product>

   <product>

      <name pid=”PL24L” category=”parks”>Canyonlands National Park</name>

      <versionDate></versionDate>

      <desc>National park map of Canyonlands National Park, which is the the largest national 

      park in Utah.  Some shaded relief; contours included. 45 x 60 inches.

      </desc>

      <isbn>978-0-607-84777-2</isbn>

      <price format=”flat” media=”paper”>$12.00</price>

   </product>

   <product>

      <name pid=”HM240P” category=”historical”>Antietam: Historical Map of the Battlefield of Antietam</name>

      <versionDate>1904</versionDate>

      <desc>The National Geospatial-Intelligence Agency (NGA) created these attractive and 

      informative posters to celebrate the legacy of battlefield cartography, photo interpretation, 

      and imagery analysis. This is one of a series of 14 maps based on surveys of the Antietam 

      Battlefield showing military positions during the course of the battle. These maps were 

      created in response to a congressional mandate to document significant Civil War 

      battlefields. The purpose was to gain a greater understanding of the movement of troop, 

      artillery, and cavalry units as they maneuvered to win an advantage. 36 x 24 inches.

      </desc>

      <price format=”flat” media=”paper”>$12.00</price>

   </product>

   <product>

      <name pid=”HM250P” category=”historical”>Normandy Air Campaign</name>

      <versionDate>1945</versionDate>

      <desc>The National Geospatial-Intelligence Agency (NGA) created these attractive and 

      informative posters to celebrate the legacy of battlefield cartography, photo interpretation, 

      and imagery analysis. This map shows fighter plane patrol routes in assault areas. The map 

      legend identifies flight routes across the English Channel, positions of naval ships, 

      assault beaches, and more. Foreground image is of P47s flying in patrol formation during 

      the invasion. 36.5 x 24.5 inches.

      </desc>

      <price format=”flat” media=”paper”>$10.00</price>

   </product>

 

</products>

 

Order a unique copy of this paper
(550 words)

Approximate price: $22

Basic features
  • Free title page and bibliography
  • Unlimited revisions
  • Plagiarism-free guarantee
  • Money-back guarantee
  • 24/7 support
On-demand options
  • Writer’s samples
  • Part-by-part delivery
  • Overnight delivery
  • Copies of used sources
  • Expert Proofreading
Paper format
  • 275 words per page
  • 12 pt Arial/Times New Roman
  • Double line spacing
  • Any citation style (APA, MLA, Chicago/Turabian, Harvard)

Our guarantees

We value our customers and so we ensure that what we do is 100% original..
At Custom Writing, we believe in exemplary services that are fully geared toward customer satisfaction. That is why we don’t shy away from giving you the following guarantees;

Money-back guarantee

Trusting us with your work is the best decision you have made, our pleasure lies in seeing you satisfied at 100%. If in the rear chance it happens that you are not satisfied, then know that we will equally not be satisfied. But worry not, our 30 days- Money back guarantee is all you need and that is what we promise you..

Read more

Zero-plagiarism guarantee

We utilize profoundly equipped and gifted writers who produce unique papers liberated from any form of plagiarism. To guarantee this, we run all papers finished by our scholars through a Plagiarism checker to ensure uniqueness and originality. In any case, on the off chance that you have vulnerabilities about the originality or falsification of any paper we have finished and conveyed to you, please get in touch with us straight away. We will quickly investigate, and if the paper is seen as counterfeited, we will take suitable actions including but not limited to, revising the paper for free and in extreme cases we will activate the money back guarantee.

Read more

Free-revision policy

We have an obligation deliver great and specially composed assignments. Our revision strategy endeavors to ensure total client satisfaction, comfort, and a genuine feelings of serenity. We make minor updates and corrections to the underlying request as part of our continuous assistance. However, revisions should just incorporate changes and alterations that were not effectively met, in the underlying request and that are inside the rules as per the current request structure..

Read more

Privacy policy

Our client's Data is an Integral part of our business but clearly, we are not in the business of offering our clients' very own data to others. We realize that you care how your online data is utilized and shared, we equally value your trust that we will do so cautiously and sensibly. We Promise to ensure the security of your own data during transmission by utilizing encryption conventions and programming. Likewise assist us with securing your information by not sharing your passwords and usernames.

Read more

Fair-cooperation guarantee

In submitting a request with us, you consent to the services we give. We will strive to take the necessary steps to convey a far reaching paper according to your prerequisites. Equally we depend on your cooperation to guarantee that we convey on this order.

Read more

Calculate the price of your order

550 words
We'll send you the first draft for approval by September 11, 2018 at 10:52 AM
Total price:
$26
The price is based on these factors:
Academic level
Number of pages
Urgency