Answer the question
In order to leave comments, you need to log in
jquery-loading: how to correctly insert from xml?
There is an svg file. The file is inserted like this:
$.get('map.xml?1', {}, function (data) {
$("#map_action").after(data);
});
<?xml version="1.0" encoding="utf-8"?>
<svg xmlns="//www.w3.org/2000/svg" xmlns:xlink="//www.w3.org/1999/xlink" version="1.1" width="809px" height="400px" >
<g id="viewport" transform="matrix(0.6159000992774963,0,0,0.6159000992774963,64.81729060587531,20.48831235851503)">
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question