1
0
mirror of https://github.com/devcode-it/openstamanager.git synced 2025-02-17 20:10:50 +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); $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
$xml = DOMDocument::loadXML($content); $xml = new DOMDocument();
$xml->loadXML($content);
// XSL
$xsl = new DOMDocument();
$xsl->load(DOCROOT.'/plugins/xml/asso-invoice.xsl');
// XSLT // XSLT
$xslt = new XSLTProcessor(); $xslt = new XSLTProcessor();
$xslt->importStylesheet(DOMDocument::load($stylesheet)); $xslt->importStylesheet($xsl);
echo ' echo '
<style> <style>