Insert a comment containing the text format default is ?at

Assignment Help Web Project
Reference no: EM131505214

Assignment: Intro XML Authoring

Document must look like the screenshot.

Benjamin needs your help with a document that lists some of Map Finds For You's map products. Figure shows the tree structure of Benjamin's XML document.

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 ).For this document, Benjamin wants to enforce a document structure to ensure that information recorded in the document is valid. Therefore, your task will be to create the DTD for the document.Complete the following:

1. Using your text editor, open the prodtxt.xml ?le from the xml02 review folder provided with your Data Files, enter your name and today's date in the comment section of the ?le, and then save the ?le as products.xml .

2. In the products.xml file, 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 ?le:

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 de?nition, insert a comment containing the text format default is ?at.

6. Save your changes to the products.xml ?le, 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.

Attachment:- Tree structure of Benjamins XML Document.rar

Reference no: EM131505214

Questions Cloud

How is unemployment in the united states measured : How is unemployment in the United States measured? What aspects of this phenomenon does the unemployment rate measure and what aspects does it fail to capture?
Define religion and cult : In a one to two page essay, address the questions below. Your essay should be double spaced and use 12 point Times New Roman font (black).
Write a business plan for starting an business : Task: Write a Business Plan for starting an Engineering-related business of your choice.
Discuss the problem that an insurance company faces : Discuss the problem that an insurance company faces in setting the premium for car insurance.
Insert a comment containing the text format default is ?at : Assignment: Intro XML Authoring- On the same line as the format attribute de?nition, insert a comment containing the text format default is ?at.
Determine the surveys credibility : What kind of critical questions do you have to ask in order to determine the surveys credibility?
Compare the teachings of confucius and aristotle : Compare the teachings of Confucius and Aristotle on what constitutes virtue or good ethical character and conduct.
Different approaches to the measurements of need : Explain the four different approaches to the measurements of need. Provide an example of a need in your life. What type of need is it?
What is the pooling equilibrium : Suppose that high-productivity workers have a marginal product of £5,000, low-productivity ones of £2,000. What will the firm pay in the pooling equilibrium?

Reviews

Write a Review

Web Project Questions & Answers

  Write about creating a website that has available books

Write about creating a website that has available books and video games - definition of the final goals to be achieved in the project. Ultimately, the project aims at solving (some of the) problems that have motivated the project.

  How to draw a figure of an http get packet

How to draw a figure of an HTTP GET packet that shows the position and size in bytes of the TCP, IP and Ethernet protocol headers.

  Determine the scope of the quality audit

DWDP2v11 - Website Development Project Determine the objectives to be achieved by the quality audit and determine the scope of the quality audit - Develop a list of audit criteria and quality benchmarks.

  Design the software architecture of a web auctioning site

Extend the server-side application with an EJB layer which allows watching and bidding in an online auction.

  Graphic image with attributes alt and align

CS110 Web Production - Rather than find a host and post our website as a final project, we will request a "Final HTML Project", one which presents a theme. It may be your search paper,

  Access between dsl and cable modem service

Discover some reliable information telling you about the penetration of broadband service in any nation. The information should indicate a breakdown of access in DSL and Cable modem service

  What is the use of ip addresses and ports

List down the types of Request Method in HTTP protocol - What is the use of IP addresses and ports?

  Describe the web-based information technologies

Describe the Web-based information technologies (protocols, policies, tools) behind electronic health care medical records.

  Assess reliability of data gathered via paid internet users

Assess the reliability of data gathered via paid Internet users. Describe and assess the evaluation method being used by the testing company, i.e., nonvisual and verbal recording of browser activities and tester's vocal comments

  Premiere products exercises

Complete the Premiere Products SQL Exercises in Chapter 3. You answers need to include the SQL commands and the results. A 2007 Access database for thesse exercisses can be found under Course Materials. Name your Answers Last Name SQL (i.e. Smith SQL..

  Summary on sensing vehicle dynamics

I need summary Sensing Vehicle Dynamics for Determining Driver Phone Use. Defining Robustness to Real-Road Driving Environments.

  Create an html page about a topic of your choice

MB387 - Web Design & Management - Create an HTML page about a topic of your choice. This page must contain a header (or logo) and three or more paragraphs

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd