Question
As an XML developer, you are required to model a system for an online used vehicle shop. After an interview with the shop manager you
As an XML developer, you are required to model a system for an online used vehicle shop. After an interview with the shop manager you have the following information:
- The details of the vehicle shop include shop name, address, telephone number, website address (URL), and logo (image).
- The vehicle shop has the following types of items for sale: hatchback, sedan, suv,etc. Each item has a brand name, an item number, description, quantity and price.
- A car can be electric, hybrid electric or fuel vehicle. A car has information about manufacturer, carType(electrice/hybrid/fuel), color, dimension, etc.
1. Analyse the above-motioned scenario. Prepare data in XML, and add additional information you wish to record. Draw your document structure(tree diagram). You should include:
- At least 15 data and maximum 20
- At least 5 attributes and maximum 10
At least 5 optional data field.
2. Using the above and additional information, and the data structure from question 1, create an XML document and name it catalog_studentID.xml. (e.g. catalog_03047791.xml). (use real time scenario)
Based on the structure of catalog_studentID.xml, create a schema file(external) named catalog _studentID.xsd. Apply catalog_studentID.xsd to the contents of catalog_studentID.xml.
3. Create a CSS file called catalog_studentID.css to render your XML data file in a web browser.
- Create a list
- Create at least one border
- Use at least two different font sizes and font families.
- Use two different font colors, at least one of which is defined using RGB values.
- Display the logo image.
- Use at least one floating box
Step by Step Solution
3.49 Rating (152 Votes )
There are 3 Steps involved in it
Step: 1
The project requirements create an XML file validate it with a schema ...Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started