Federica 1 год назад
Родитель
Сommit
59a6dc071b
3 измененных файлов с 2 добавлено и 3 удалено
  1. BIN
      dist/.DS_Store
  2. 0 1
      dist/evt/assets/data/main.xml
  3. 2 2
      src/app/services/edition-data.service.ts

BIN
dist/.DS_Store


+ 0 - 1
dist/evt/assets/data/main.xml

@@ -55605,7 +55605,6 @@
             <xi:include href="lettere/76d.xml" xmlns:xi="http://www.w3.org/2001/XInclude" xpointer="76d_text"/>
             <xi:include href="lettere/n58.xml" xmlns:xi="http://www.w3.org/2001/XInclude" xpointer="n58_text"/>
             <xi:include href="lettere/y69.xml" xmlns:xi="http://www.w3.org/2001/XInclude" xpointer="y69_text"/>
-            <xi:include href="lettere/00b.xml" xmlns:xi="http://www.w3.org/2001/XInclude" xpointer="00b_text"/>
             <xi:include href="lettere/y55.xml" xmlns:xi="http://www.w3.org/2001/XInclude" xpointer="y55_text"/>
             <xi:include href="lettere/n64.xml" xmlns:xi="http://www.w3.org/2001/XInclude" xpointer="n64_text"/>
             <xi:include href="lettere/i02.xml" xmlns:xi="http://www.w3.org/2001/XInclude" xpointer="i02_text"/>

+ 2 - 2
src/app/services/edition-data.service.ts

@@ -31,10 +31,10 @@ export class EditionDataService {
   }
 
   loadXIinclude(doc: HTMLElement, baseUrlPath: string) {
-    console.log(document.location.href);
+    // console.log(document.location.href);
     const parametro2 = document.location.href;
     const parametro3 = parametro2.split("p=")[1].split("_")[0];
-    console.log('parametroSigla : ' + parametro3);
+    // console.log('parametroSigla : ' + parametro3);
     const parametro = '[href="lettere/' + parametro3 + '.xml"]';
     //const filesToInclude = Array.from(doc.getElementsByTagName('xi:include')); 
     const filesToInclude = Array.from(doc.querySelectorAll(parametro));