Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

7.1 Create a DTD for a catalog of cars, where each car has the child elements ma

ID: 3636860 • Letter: 7

Question

7.1

Create a DTD for a catalog of cars, where each car has the child elements make, model, year, color, engine, number_of_doors, transmission_type, and accessories. The engine element has the child elements number _of_cylinders and fuel_system (carbureted or fuel_injected). The accessories element has the attributes radiio, air_conditioning, , power_windows, Power_steering, and Power_brakes, each of which is required and has the possible values of yes and no. Entities must be declared for the names of popular car makes.




Then this -



7.2

Create XML document with at least three instances of the car element defined in the DTD of exercise 7.1 and produce a display of the raw xml document.






7.3


Create an xml schema for the xml document described in exercises 7.1 and 7.2






Explanation / Answer

Create an XMLHttpRequest Object All modern browsers (IE7+, Firefox, Chrome, Safari, and Opera) have a built-in XMLHttpRequest object. Syntax for creating an XMLHttpRequest object: xmlhttp=new XMLHttpRequest(); Old versions of Internet Explorer (IE5 and IE6) uses an ActiveX Object: xmlhttp=new ActiveXObject("Microsoft.XMLHTTP"); In the next chapter, we will use the XMLHttpRequest object to retrieve XML information from a server.

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote