Signed-off-by: Gary Gapinski <[email protected]>
---
 RHEL6/transforms/shorthand2xccdf.xslt |    7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

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 -->
-- 
1.7.10.4

_______________________________________________
scap-security-guide mailing list
[email protected]
https://lists.fedorahosted.org/mailman/listinfo/scap-security-guide

Reply via email to