This page has XML data embedded into it. See page source, line 78. The browser cannot display it properly, but it's there. Below you can also see the structure data.
Write a function called parseData(), which will output the quote and author tags from XML when button is clicked. Hint: Use document.getElementsByTagName() function. See PowerPoint for reference.
<quotes> <quote>I'm not concerned about all hell breaking loose, but that a PART of hell will break loose... it'll be much harder to detect.</quote> <length>124</length> <author>George Carlin</author> </quotes> <quotes> <quote>The biggest problem with every art is by the use of appearance to create a loftier reality. </quote> <author>Johann Wolfgang von Goethe</author> </quotes>
I'm not concerned about all hell breaking loose, but that a PART of hell will break loose... it'll be much harder to detect.
The biggest problem with every art is by the use of appearance to create a loftier reality.