diff options
author | Manuel Bentele | 2022-02-04 12:19:44 +0100 |
---|---|---|
committer | Manuel Bentele | 2022-02-04 12:19:44 +0100 |
commit | 255c829b598a7a3151489e7121c56b219e530777 (patch) | |
tree | 2bd704054b6b3663b3bd9abbcc4604dace7da176 /src/main/resources | |
parent | Fix resource path for virtualizer config tests on Windows platforms (diff) | |
download | master-sync-shared-255c829b598a7a3151489e7121c56b219e530777.tar.gz master-sync-shared-255c829b598a7a3151489e7121c56b219e530777.tar.xz master-sync-shared-255c829b598a7a3151489e7121c56b219e530777.zip |
Force Unix line endings for Libvirt XML files (even on Windows platforms)
Diffstat (limited to 'src/main/resources')
-rw-r--r-- | src/main/resources/libvirt/xsl/xml-output-transformation.xsl | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/main/resources/libvirt/xsl/xml-output-transformation.xsl b/src/main/resources/libvirt/xsl/xml-output-transformation.xsl index febed54..8cd615d 100644 --- a/src/main/resources/libvirt/xsl/xml-output-transformation.xsl +++ b/src/main/resources/libvirt/xsl/xml-output-transformation.xsl @@ -2,11 +2,17 @@ xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xalan="http://xml.apache.org/xalan"> <xsl:output method="xml" omit-xml-declaration="yes" - encoding="UTF-8" indent="yes" xalan:indent-amount="2" /> + encoding="UTF-8" indent="yes" xalan:indent-amount="2" + xalan:line-separator=" " /> <xsl:strip-space elements="*" /> <xsl:template match="@*|node()"> <xsl:copy> <xsl:apply-templates select="@*|node()" /> </xsl:copy> </xsl:template> + <xsl:template match="/"> + <xsl:apply-templates /> + <xsl:text> </xsl:text> + <xsl:text> </xsl:text> + </xsl:template> </xsl:stylesheet> |