|
@@ -197,11 +197,20 @@ node extract.js -n "Fabien Delorme" -o "./data/fabienDelorme.xml" -f "./data/bas
|
|
|
node extract.js -n "Fabien Delorme" -o "./data/fabienDelorme.xml" -f "./data/base.xml" -v
|
|
|
```
|
|
|
|
|
|
-
|
|
|
-
|
|
|
### Temps d'exécution
|
|
|
|
|
|
| | Ubuntu (PC Fac) | Kubuntu (I5-7300HQ) | KDE Neon (I7-8550U) |
|
|
|
| -------------- | :-------------: | :-----------------: | :-----------------: |
|
|
|
| **Extraction** | | 50 à 70 secondes | 45 à 50 secondes |
|
|
|
|
|
|
+## Partie 3
|
|
|
+
|
|
|
+Pour convertir le document xml extrait en un fichier html il suffit d'utiliser la commande suivante (ou son équivalent avec npm) :
|
|
|
+
|
|
|
+```bash
|
|
|
+xsltproc -o out.html convert.xsl ./data/extract.xml
|
|
|
+# <=>
|
|
|
+npm run xslt
|
|
|
+```
|
|
|
+
|
|
|
+La fichier est crée dans le dossier data sous le nom de `extract.html` en utilisant la commande npm
|