gapinski@gr2186815:~/Projects/scap-security-guide/RHEL6$ git diff
diff --git a/RHEL6/transforms/shorthand2xccdf.xslt b/RHEL6/transforms/shorthand2xccdf.xslt
index 507238e..59a0b53 100644
--- a/RHEL6/transforms/shorthand2xccdf.xslt
+++ b/RHEL6/transforms/shorthand2xccdf.xslt
@@ -15,12 +15,9 @@ exclude-result-prefixes="xccdf xhtml dc">
<!-- Content:template -->
<xsl:template match="Benchmark">
- <xsl:copy>
- <xsl:attribute name="xmlns">
- <xsl:text>http://checklists.nist.gov/xccdf/1.1</xsl:text>
- </xsl:attribute>
+ <xsl:element name="Benchmark" namespace="http://checklists.nist.gov/xccdf/1.1">
<xsl:apply-templates select="@*|node()" />
- </xsl:copy>
+ </xsl:element>
</xsl:template>
<!-- insert current date -->
gapinski@gr2186815:~/Projects/scap-security-guide/RHEL6$
The template becomes just