Data model a web application in XML

Description

Create an XML document that describes a data model a web application for listing courses at BCIT (e.g. COMP 2899).

Requirements

Being the first time in XML, this will be a great opportunity to start things off and get yourself acquainted with the XML syntax and creating elements, attributes, and using namespaces. For your XML format, you will want to include the following information (and data structures) in your XML document:

1.       XML declaration with version (1.0) and encoding (UTF-8)

2.       At least two elements that contain attributes

3.       At least two elements that contain other elements

4.       At least two elements that contain text

5.       At least two XML comments

6.       At least one marked section

7.       At least three entities (with one that has to be given as a Unicode value e.g. Ⓒ)

8.       At least two namespaces (one that is the default, so no prefix)

9.       All namespaces must be used at least once!

10.   Document must contain at least 10elements (they don't have to be unique)

You are pretty free to write whatever you feel works best

You are pretty free to write whatever you feel works best -you have total control as to how you wish to structure your XML format (hierarchy), and whether data that you describe are elements or attributes. However, your document must be well-formed.

Hints

  • Refer to the web sites found at the back of slides for week one

Submission

1. You will work individually for this assignment.

2. Your submission will be 1 XML file with the extension being XML. The naming convention will be lastname-firstname-assign1.xml (e.g. Ferguson, Arron-assign1.xml) and submitted to share-in at BCIT which is:

3. COMP 2899

4.  /in/comp/2899/assignments/assignment 1

   Related Questions in Science

©TutorsGlobe All rights reserved 2022-2023.