Code development platform for open source projects from the European Union institutions

Skip to content
Snippets Groups Projects
Commit a3114141 authored by Markus QUARITSCH's avatar Markus QUARITSCH
Browse files

fix: copying attributes to output

parent b7382267
No related branches found
No related tags found
No related merge requests found
...@@ -30,8 +30,8 @@ ...@@ -30,8 +30,8 @@
<xsl:value-of select="normalize-space(.)"/> <xsl:value-of select="normalize-space(.)"/>
</xsl:template> </xsl:template>
<xsl:template match="*[local-name()='FuelConsumptionMap']"> <xsl:template match="*[local-name()='FuelConsumptionMap']">
<xsl:apply-templates select="@*"/>
<xsl:element name="{local-name()}"> <xsl:element name="{local-name()}">
<xsl:apply-templates select="@*"/>
<xsl:for-each select="*"> <xsl:for-each select="*">
<xsl:sort data-type="number" select="@engineSpeed" order="ascending"/> <xsl:sort data-type="number" select="@engineSpeed" order="ascending"/>
<xsl:sort data-type="number" select="@torque" order="ascending"/> <xsl:sort data-type="number" select="@torque" order="ascending"/>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment