Update 'Util/to_changelog_md.xsl'

This commit is contained in:
Francesco Mangiacrapa 2020-06-22 17:27:08 +02:00
parent cf73171f35
commit 5119055de3
1 changed files with 3 additions and 2 deletions

View File

@ -4,6 +4,7 @@ xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="text" indent="no" encoding="UTF-8"/>
<xsl:template match="*/text()[normalize-space()]">
<xsl:text>&#10;&#10;</xsl:text>
<xsl:value-of select="normalize-space()"/>
</xsl:template>
@ -14,10 +15,10 @@ All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
<xsl:for-each select="ReleaseNotes/Changeset">
## [<xsl:value-of select="translate(translate(substring(@component, string-length(@component) - 5),'.',''),'-','.')" />] - [<xsl:value-of select="@date" />]
## [<xsl:value-of select="translate(translate(substring(@component, string-length(@component) - 5),'.',''),'-','.')" />] - <xsl:value-of select="@date" />
<xsl:for-each select="Change">
<xsl:apply-templates />
<xsl:apply-templates/>
<xsl:text>&#10;&#10;</xsl:text>
</xsl:for-each>
</xsl:for-each>