diff --git a/VectoCommon/VectoHashing/Resources/XSLT/SortInputData.xslt b/VectoCommon/VectoHashing/Resources/XSLT/SortInputData.xslt index 0f97c0b787ecbe1c5dc6c0757aa385597a32f347..be43862fe358c79c02225545874f620d4d33a0da 100644 --- a/VectoCommon/VectoHashing/Resources/XSLT/SortInputData.xslt +++ b/VectoCommon/VectoHashing/Resources/XSLT/SortInputData.xslt @@ -5,6 +5,12 @@ <xsl:apply-templates select="node()|@*"/> </xsl:copy> </xsl:template> + <xsl:template match="@*"> + <xsl:attribute name="{name()}"><xsl:value-of select="normalize-space(.)"/></xsl:attribute> + </xsl:template> + <xsl:template match="text()"> + <xsl:value-of select="normalize-space(.)"/> + </xsl:template> <xsl:template match="*[name()='FuelConsumptionMap']"> <xsl:copy> <xsl:for-each select="*"> @@ -38,7 +44,7 @@ <xsl:apply-templates select="."/> </xsl:for-each> </xsl:copy> - </xsl:template> + </xsl:template> <xsl:template match="*[name()='TorqueLimits']"> <xsl:copy> <xsl:for-each select="*">