====== XML/XSL ====== ---- ===== XPATH ===== | / | chemin absolu vers un élément | | %%//%% | descendant ou self | | @ | attributs | | %%||%% | ou | | .. | parent | | . | self | | * | sélectionne tous les éléments | | [ ] | spécifie plus précisément un élément [n] = n ième élément, [last()] = dernier élément | ---- ===== Caractères spéciaux ===== | ; | retour à la ligne | | ; | tabulation | | ; | blanc | | &apos ; | simple ‘ | | " ; | double « | | & ; | & | ---- ===== Passage de paramètres avec java===== java –jar xalan.jar –IN -XSL -OUT -PARAM -PARAM ---- ===== Parser ===== ==== xalan ==== [[https://xalan.apache.org/xalan-j/downloads.html|Apache Xalan]] Récupérer les fichier xalan.jar et serializer.jar de l'archive xalan-j_x_x_x-bin.zip ou tar.gz ==== xmllint ==== [[https://www.baeldung.com/linux/xmllint]] ---- ==== xmlstarlet ==== Outil pour interroger, modifier, valider et éditer des fichiers XML en ligne de commande. === Modification === [[https://xmlstar.sourceforge.net/doc/UG/xmlstarlet-ug.html|xmlstarlet]] ---- ===== Liens ===== * [[http://www.zvon.org/xxl/XSLTreference/Output/index.html|Références]] * [[https://xalan.apache.org/|Xalan]] * [[http://www.xmlblaster.org/XSL_performance.html|Performances]] ----