Validate the xml document , Computer Engineering

Assignment Help:

As an XML expert you are needed to model a system for an online furniture shop. After an interview with the shop manager you have the certain information:

  • The detail of the furniture shop contains shop name, address, telephone number, website address (URL), and logo (image).
  • The furniture shop has the following types of objects for sale: beds, sofas, tables, wardrobes, etc. Every item has its name, item number, description, and price.

1) A bed can be single, double or king size bed.  A bed also has information about type (like bed frames, divan bed, adjustable bed, four poster bed) materials (such as wood), manufactory, product country, optionally with mattresses, etc.

2) A sofa can be a one seat, 2 seats or 3 seats sofa, with information of manufactory, product country, size, colour and face material (such as Leather).

3) The table have type (like dining table, coffee table, nest table), materials (like Acre Oak, glass), size, manufactory, and product country. Dining table can optionally have dining chairs, etc.

4) A wardrobe can be 2 doors or 3 doors. It also has information about the size, colour, manufactory, product country, optionally with door mirrored

Task. Using the structure of catalog _{studentID}.xml as a model, make a DTD file named catalog _{studentID}.dtd. Apply catalog _{studentID}.dtd to the contents of catalog _{studentID}.xml. Validate the XML document against your DTD using an online validator or AltovaXML2008.                                         

Task . Make a CSS file catalog _{studentID}.css to render your XML data file to a web browser.

  • Make a list
  • Make at least one border
  • Use at least two dissimilar font sizes and two dissimilar font families.
  • Use two dissimilar font colours, at least one of which is defined using RGB values.
  • Show logo image.
  • Use at least one floating box

                                    
Task.Write a short report up to 1000 words (save as report1 _{studentID}.doc, a word document) to explain how you designed and executed the coursework part 1. The report should contain the data structure. Tlak about the limitations of DTD and CSS.

 


Related Discussions:- Validate the xml document

Editor - tools necessary for assembly language programming, Q. Editor - Too...

Q. Editor - Tools necessary for assembly language programming? The editor is a program which allows the user to enter and modify as well as store a group of instructions or tex

Performance of pipelines with stalls, Performance of Pipelines with Stalls:...

Performance of Pipelines with Stalls: A stall is reason of the pipeline performance to degrade the ideal performance.                                             Average in

What is the session, What is the session.  Session is a collection of v...

What is the session.  Session is a collection of various groups of method. Every session is assigned to a single control terminal. This terminal is either a pseudo-device. or a

Explain macro definition, Explain macro definition. A unit of specifica...

Explain macro definition. A unit of specification for a program generation is termed as a macro. This consists of name, body of code and set of formal parameters.

Convert logic circuit in a binary code, The logic circuit given below, conv...

The logic circuit given below, converts a binary code y 1 y 2 y 3 into Ans. Gray code is X1 = Y1,   X2 = Y1 XOR Y2  ,   X3 = Y1 XOR Y2 XOR Y3 For

Mip method for the problem solving, 1. Solve the following grouping problem...

1. Solve the following grouping problem using the DCA method. 2.  Use the ROC methodfor the previous problem. 3. Use the MIP method for the problem above assuming a tota

Define deadlock with resource request and allocation graph, Define Deadlock...

Define Deadlock with Resource request and allocation graph (RRAG) Deadlocks can be described through a directed bipartite graph termed as a RRAG that is Resource Request All

Define cpu scheduling, Define CPU scheduling. CPU scheduling is the met...

Define CPU scheduling. CPU scheduling is the method of switching the CPU among various processes. CPU scheduling is the basis of multiprogrammed operating systems. By switching

Explain the program translation model, Explain the program translation mode...

Explain the program translation model The program translation model makes the execution gap through translating a program written in a programming language, termed as the sou

Write Your Message!

Captcha
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