Working with XML on the web

..

Problem statement

We’re working in a browser environment. Typescript and react. We’re getting some XML over the wire. It contains HTML we want to preview.

How do we do that?

Idea: just use browser APIs.

So, let’s try that.

Discover the sandbox

See file:sandbox.html or file:sandbox.js.