Write a program in javascript that will read in an xml file, JAVA Programming

Assignment Help:

Write a program in Javascript that will read in an XML file. This file will contain details of devices maintained by the IT department of an organisation including an ID number, description, location, manufacturer and year purchased.  The program will then ask a user whether they want to (1) list all resources displaying the manufacturer and year purchased, (2) details of description, manufacturer and year purchased for a given id or (3) list all the devices of a particular description from a particular manufacturer.

Explain the relative merits of using text boxes to allow a user to enter data to select a value such as manufacturer or id and the use of a drop-down list in this example. There are marks available for those who use a drop-down box for at least one of the options in this application.

Required:

(a) Outline how text boxes and drop-down boxes can be used to select an item from the XML file

(b) Evaluate the two approaches

(c) Initial design flowchart for the chosen approach

(d) Printout showing properly indented and commented code with meaningful identifiers

(e) Listing of XML file

(f)  Print out of a sample run

(g) Explanation of steps to determine that the program is correct

(h) CD of implemented solution


Related Discussions:- Write a program in javascript that will read in an xml file

Url instance and url connection instance, Difference between URL instance a...

Difference between URL instance and URL Connection instance? Ans) A URL instance shows the location of a resource, and a URL Connection instance shows a link for accessing or co

Object-based programming, JavaScript is an extremely powerful object-based ...

JavaScript is an extremely powerful object-based (or prototype-based) language. It is not a full-blown OOP (Object-Oriented Programming) language, like Java, however it is an objec

What is dispatchaction, The DispatchAction class is used to group related a...

The DispatchAction class is used to group related actions into single class. Using this class, you can have a method for every logical action compared than a one executes method. T

How many bits are used to show unicode and ascii, How many bits are used to...

How many bits are used to show Unicode, ASCII, UTF-16, and UTF-8 characters? Unicode requires 16 bits and ASCII require 7 bits although the ASCII character set uses only 7 bits

Area Under Curve, #include float start_point, /* GLOB...

#include float start_point, /* GLOBAL VARIABLES */ end_point, total_area; int numtraps; main( ) { void input( void );

List the unexpected quotients in java, List the unexpected quotients in jav...

List the unexpected quotients in java? 2/3 = 0 3/2 = 1 1/0 = ArithmeticException 0/0 = ArithmeticException 1.0/0.0 = Inf 1.0/0 = Inf 0.0/0.0 = NaN -1.0/0.0

Javascript, Write a JavaScript program to prompt the user for the radius of...

Write a JavaScript program to prompt the user for the radius of a sphere and call function sphereVolume to calculate and display the volume of the sphere in the status bar.

What type of information can be stored in a database, What type of informat...

What type of information can be stored in a database? In a database we can store several types of informations like: • Numbers, Booleans, text • Sounds • Images • Video

What is meant by semantic error, What is meant by semantic error? Occur...

What is meant by semantic error? Occur although a statement executes and has an effect not intended by the programmer and Frequently times occur just in unusual & infrequent ci

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