Computers and Technology
Computers and Technology, 28.06.2019 10:00, Thnut4237

In this exercise, you’ll add code to an inventory maintenance application that reads data from and writes data to an xml file. 1. open the inventorymaintenance with xml file directory, and display the code for the invitemdb class. 2. add code to the getitems method that creates an xmlreadersettings object that ignores white space and comments. then, create an xmlreader object for the inventoryitems. xml file that’s included in the project and that uses the reader settings. (the path constant contains the path to the xml file.) 3. add code that reads each item element, stores the contents of the child elements in an invitem object, and adds the object to the list object. be sure to check that the file contains at least one item element before the loop that processes these elements is executed. then, close the xmlreader object. 4. add code to the saveitems method that creates an xmlwritersettings object that indents each element four spaces. then, create an xmlwriter object for the inventoryitems. xml file that uses the writer settings. 5. add code that writes an xml declaration line and a start tag for the items element. then, add code that creates an item element for each invitem object in the list object. each property of the invitem object should be saved as a child element with the same name as the property. 6. add code that writes the end tag for the items element and then closes the xmlwriter object. 7. test the application to be sure it works correctly.

answer
Answers: 1

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 16:30, aryal191
Primary tech skills are skills that are necessary for success in online education
Answers: 3
image
Computers and Technology, 22.06.2019 17:00, shimmerandshine1
Aisha has finished working on a word processing document that contains 15 pages. she has added some special elements in the first three pages, page 9 and 10, and page 15 from the document. she wants to print only these pages to see how they look. which option is the correct way to represent (in the print dialog box) the pages that aisha wants to print
Answers: 3
image
Computers and Technology, 22.06.2019 18:30, emojigirl2824
Word vocabulary words: print, proofread, status line, graphics, font effects, left margin, justification, line spacing, copy/paste, data. review words: font point, bold, save, center, error. fill in the correct word for the definition and then transfer the letters to the appropriate spot by number. some numbers will be found multiple times. you will end up with a quotation about…… what else? 1 2 3 4 5 6 7 8 9 10 11 12 13 14 k 16 17 18 19 20 21 22 23 24 25 8 27 28 29 w 31 32 k 34 35 36 w h 39 40 41 42 8 44 45 46 47 48 49 50 51 52 53 54 55 .1. a software function that records keystrokes on a disk or drive so information can be 5 4 52 9 later retrieved. p n 2. to produce a paper copy of information. 10 7 12u n 3. a display that shows the location of the cursor, pages, etc. 45 46 18 27 36 20 42p4. pictures or images, located in clip art or other files. 6 24 44 28 34 49 555. any mis-stroke of a key. 47 41 48 2 10 n6. allows major changes to the font such as shadow, emboss, etc. 21 25 46 35 23 21 29 14 22 17 n7. a feature that centers lines of text horizontally. 49 53 46 9 51 p8. size of the font 31 16 22 b l 9. a feature that prints designated text darker than the rest to add emphasis. 32 3 . p10. to compare copy on a display screen or printout to the original 24 39 25 23 54 9 50 3 and correct errors. j un 11. a feature that allows text to be aligned at the left 11 12 7 21 16 49 40 46 34 2 and right margins. leftn 12. amount of blank space on the left side of the paper. 8 18 41 6 34 linen 13. number of blank lines between lines of text. 17 4 49 13 1914. any information inputted into the computer. 3 4 46 44 p /p15. feature that duplicates text from one location and places it in another.
Answers: 2
image
Computers and Technology, 23.06.2019 13:00, jaelynnm
Donnie does not have powerpoint. which method would be best for elana to save and share her presentation as is? a pdf a doc an rtf a ppt
Answers: 3
Do you know the correct answer?
In this exercise, you’ll add code to an inventory maintenance application that reads data from and w...

Questions in other subjects: