1
0
mirror of https://github.com/devcode-it/openstamanager.git synced 2025-01-12 15:44:07 +01:00

Update view.php

This commit is contained in:
Luca 2019-02-25 13:10:11 +01:00
parent 0e62ab73c3
commit 0a7cee9726

View File

@ -32,11 +32,17 @@ if ($file->isFatturaElettronica()) {
$content = str_replace('http://ivaservizi.agenziaentrate.gov.it/docs/xsd/fattura/messaggi/v1.0', 'http://www.fatturapa.gov.it/sdi/messaggi/v1.0', $content);
// XML
$xml = DOMDocument::loadXML($content);
$xml = new DOMDocument();
$xml->loadXML($content);
// XSL
$xsl = new DOMDocument();
$xsl->load(DOCROOT.'/plugins/xml/asso-invoice.xsl');
// XSLT
$xslt = new XSLTProcessor();
$xslt->importStylesheet($xsl);
// XSLT
$xslt = new XSLTProcessor();
$xslt->importStylesheet(DOMDocument::load($stylesheet));
echo '
<style>