'use strict'; let DOMParser = require('xmldom').DOMParser; let fs = require('fs'); export class XmlTreeService { static getXmlTreeHtml(xml: string): string { let xdoc: Document = new DOMParser().parseFromString(xml, 'text/xml'); let fontColor: string = XmlTreeService._getRecommendedTextColor(); let html: string = `