Widget: DataExporter: Difference between revisions
From LINKS Community Center
Eschmidt (talk | contribs) No edit summary |
Eschmidt (talk | contribs) No edit summary |
||
Line 22: | Line 22: | ||
const schema = await fetch(dat).then(rsp => rsp.text()); | const schema = await fetch(dat).then(rsp => rsp.text()); | ||
const doc = (new DOMParser).parseFromString(schema, 'text/xml'); | |||
console.dir(doc) | |||
output.innerText = schema; | output.innerText = schema; |