I have a issue when i read a xml File with jquery. This is my call to find the xml and the section. It works untill here
$.ajax({
type: 'GET',
url:"../quiz.xml",
dataType: "xml"}).always(function(xml) {
// level in xml finden und anschließend question in level finden
var level = $(xml).find("level"+ sessionStorage.getItem('level'));
var question = $(level).find("question");
var frage = $(question[number]).find('frage');
$('.questions').html(frage);
This is what stand in the xml file. The problem is that it output as sting and not as html-Tag. Did i forot something?
<frage>
Was sind <![CDATA[ < br />]]> Versalien?
</frage>
< br />, then there is something wrong with the markup (the space between<andbr). You'd have to fix that manually.