forked from flrt/hprimxml
-
Notifications
You must be signed in to change notification settings - Fork 0
/
upgrade_103ato107_v1.0.xsl
executable file
·31 lines (26 loc) · 1.08 KB
/
upgrade_103ato107_v1.0.xsl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:h="http://www.hprim.org/hprimXML"
version="1.0">
<!--
Licence Creative Commons : Attribution 4.0 International <http://creativecommons.org/licenses/by/4.0/>
Auteur : Frédéric LAURENT
V1.0 : 10/07/2013 - initialisation : Conversion du format hprim XML 1.03a en 1.07
-->
<xsl:output method="xml" encoding="ISO-8859-1"/>
<xsl:template match="/">
<xsl:comment>Upgrade Hprim 1.03a vers 1.07</xsl:comment>
<xsl:apply-templates/>
</xsl:template>
<xsl:template match="@*|*|processing-instruction()|comment()">
<xsl:copy>
<xsl:apply-templates select="@*|*|text()|processing-instruction()|comment()"/>
</xsl:copy>
</xsl:template>
<!-- modification de la version -->
<xsl:template match="h:evenementsServeurActes/@version">
<xsl:attribute name="version">
<xsl:value-of select="1.07"/>
</xsl:attribute>
</xsl:template>
</xsl:stylesheet>