Create XML file in Angular2 + TypeScript
<p>I want to create XML document in angularjs + Typescript project. </p>

<p>I read about XMLWriter() but i ma not able to use it. I am getting error "Cannot find name XMLWriter"</p>

<p>Could please suggest a good way to create XML file. </p>