Widget: DataExporter: Difference between revisions

From LINKS Community Center
Jump to: navigation, search
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;

Revision as of 12:21, 15 August 2023