I have a line in my javascript code that looks as this:
var xml = '<xml><block type="factory_base" deletable="false" movable="false"></block></xml>';
How could I do the same thing but if what I have is a XML file? How can I have the content of that XML file as a string in order to have a variable that is this string? I've looked through umpteen forums and possibilities but didn't success.
Thanks in advance!