shadiakiki1986 / IDES-Receiver

Decrypt and decompress zip files received from the IRS via the IDES gateway
http://shadiakiki1986.github.io/IDES-Receiver/
MIT License
1 stars 2 forks source link

write up a xsl stylesheet for viewing the decrypted file contents in-line on the same page #2

Open shadiakiki1986 opened 6 years ago

shadiakiki1986 commented 6 years ago
     xml = loadXMLDoc("test.xml");
     xsl = loadXMLDoc("test.xsl");
     if (document.implementation && document.implementation.createDocument) {
        xsltProcessor = new XSLTProcessor();
        xsltProcessor.importStylesheet(xsl);
        resultDocument = xsltProcessor.transformToFragment(xml, document);
        document.getElementById('container').appendChild(resultDocument);
     }