Hallo!
Ich habe ein Textfeld mit XML. Ich lese es aus:
var str = document.getElementById('messageform:xml').value;
var content = document.createElement("root");
content.innerHTML = str;
Das Problem ist, dass innerHTML als Text ins DOM geschrieben wird. Daher gibt content.firstChild.innerHTML undefined.
Was mache ich falsch?