Added hightlight for all basic XML tools

This commit is contained in:
2023-04-26 11:13:59 +02:00
parent 8d5ad963a3
commit d2b2d7f2f2
4 changed files with 171 additions and 27 deletions

View File

@@ -141,7 +141,8 @@ function fillDefaultXSLT() {
fetch(serverAddress + "/assets/samples/XSLTTemplate.xslt")
.then( response => response.text() )
.then( (XSTLTemplate) => {
document.getElementById('transformArea').value = XSTLTemplate;
document.getElementById('transformArea').innerText = XSTLTemplate;
highlightSyntax("transformArea");
} )
}