Browse Source
Used during solution install/reinstall to determine if changes have been made. Fedora selectively strips newline characters within actual content. Now we normalize the two data-streams such that all newlines are made spaces and any preceding/trailing white-space within the document is removed. For Issue: https://dgi.ontimenow.com/viewitem.aspx?id=1989&type=features&force_use_number=false7.x-release
Nigel Banks
12 years ago
committed by
jonathangreen
2 changed files with 19 additions and 0 deletions
@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?> |
||||
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> |
||||
<xsl:output method="xml" version="1.0" encoding="UTF-8" indent="yes" media-type="text/xml"/> |
||||
<xsl:strip-space elements="*"/> |
||||
<xsl:template match="node()|@*"> |
||||
<xsl:copy> |
||||
<xsl:apply-templates select="node()|@*"/> |
||||
</xsl:copy> |
||||
</xsl:template> |
||||
<xsl:template match="text()"> |
||||
<xsl:value-of select="translate(., '
', ' ')"/> |
||||
</xsl:template> |
||||
</xsl:stylesheet> |
Loading…
Reference in new issue