There are some conditions that could make TypeScript less valuable for a project or team. Here are a few questions to ask when weighing it for your project.
I export the XML tree in the DOM, then save that text as an XML document. I used AngularJS for the web application, and JavaScript to create the XML feed.