[XSLT] XML vers un nouveau XML (filtre)
Bonjour,
Je ne connais pas du tout XSLT, et je cherche un tuto très basic qui me permettrait de recopier en intégralité un fichier XML, à l'exeption d'un certain type de balise
Par exemple
Code:
1 2 3 4 5 6 7 8 9 10 11
| <?xml version="1.0" encoding="ISO-8859-15"?>
<ElementsRecuperes xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="20070503-103732-export.xsd">
<Referentiel>
<Environnement>\\10.25.105.120\Stage</Environnement>
<Base>Formation</Base>
</Referentiel>
<Referentiel>
<Environnement>\\10.25.105.120\Dev</Environnement>
<Base>SI</Base>
</Referentiel>
</ElementsRecuperes> |
transformé en
Code:
1 2 3 4 5 6 7 8 9
| <?xml version="1.0" encoding="ISO-8859-15"?>
<ElementsRecuperes xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="20070503-103732-export.xsd">
<Referentiel>
<Base>Formation</Base>
</Referentiel>
<Referentiel>
<Base>SI</Base>
</Referentiel>
</ElementsRecuperes> |