How to embed an XML file in HTML?

raggaidsinvon

New Member
I am creating a simple web application for a comic using HTML and JavaScript. Because people that are not very technical should be able to add new comics, I thought about using an XML file as a configuration file. I thought about using JSON and decided against it, mainly because the way comma's are used(no comma between two items breaks it, but a comma at the end of the list also breaks it.).However, my question is now: How can I embed this XML file? Do I use the \[code\]<link rel= />\[/code\] tag, or something else like the \[code\]<embed src= http://stackoverflow.com/>\[/code\] tag? And how can I then read information from the XML nodes in JavaScript?
 
Back
Top