JavaScript Create an xml page (with the extension .xml) . This will be a well-fo
ID: 3699428 • Letter: J
Question
JavaScript
Create an xml page (with the extension .xml) . This will be a well-formed xml page . The root node will be player » The children nodes will be o Name;this will hold your name o Character node This will have the following sub nodes * Character name * Character level . Character type (your imagination: dragon, newt, barbarian, handsomely good-looking professor) This will have an attribute of play style * Values will be either pyp or pve . Create a JSON page (with the extension ison) » The root node will be book » The children nodes will be o Title o author o page count o price o source an array that will store the name of 2 different stores that carry this book For the above two files, attach information to the nodes as well Create a basic webpage » Has two links: one to each of the files above . Has an empty div with the id of output Has a button that will call a function called createXML Has a function called cr This function wl. o Create an XML object (use DOM building) Root will be school - Child node will be name * Data will be Confederation Collegee . Contain attribute level o Data for attribute will be Post-Secondary Write the result of your build to the output div tag's innerHTML oExplanation / Answer
This is the player.xml file
This is books.json file
And this is the final answer.html file
Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.