Difference between revisions of "Widget:DataExporter"

From LINKS Community Center
Jump to: navigation, search
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 13:21, 15 August 2023