test de performance sur un gros variable
1. 8h
<xsl:variable name="geoCodeMapping">
<GeoCodeMapping>
<cities country="FR">
<city>Paris</city>
<geonamesCode>123456</geonamesCode>
</cities>
<cities country="UK">
<city>London</city>
<geonamesCode>123457</geonamesCode>
</cities>
<cities country="FR">
<city>Lyon</city>
<geonamesCode>123458</geonamesCode>
</cities>
...
</GeoCodeMapping>
</xsl:variable>
2. 4h30
<xsl:variable name="geoCodeMapping">
<GeoCodeMapping>
<cities country="FR">
<city name="Paris">123456</city>
<city name="Lyon">123458</city>
</cities>
<cities country="UK">
<city name="London">123456</city>
</cities>
...
</GeoCodeMapping>
</xsl:variable>
3.
<xsl:variable name="geoCodeMapping_FR">
<cities country="FR">
<city name="Paris">123456</city>
<city name="Lyon">123458</city>
</cities>
</xsl:variable>
<xsl:variable name="geoCodeMapping_UK">
<cities country="UK">
<city name="London">123456</city>
</cities>
</xsl:variable>