This is for when you are building a library and csp are in the way and require you to use trustedTypes html
var toSafeNode=(h,x=new XMLHttpRequest)=>(x.send(x.open('GET',URL.createObjectURL(new Blob([h])),0)),x.responseXML)
var fragment = toSafeNode('<div>hej</div>')