[PATCH 2/3] added comment, added calls to insert Profiles

Jeffrey Blank blank at eclipse.ncsc.mil
Fri Aug 2 14:33:29 UTC 2013


Signed-off-by: Jeffrey Blank <blank at eclipse.ncsc.mil>
---
 RHEL6/input/guide.xslt |   13 ++++++++++++-
 1 files changed, 12 insertions(+), 1 deletions(-)

diff --git a/RHEL6/input/guide.xslt b/RHEL6/input/guide.xslt
index 4944f0d..f2e1ae6 100644
--- a/RHEL6/input/guide.xslt
+++ b/RHEL6/input/guide.xslt
@@ -1,15 +1,26 @@
 <?xml version="1.0"?>
 <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xccdf="http://checklists.nist.gov/xccdf/1.1" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:dc="http://purl.org/dc/elements/1.1/">
 
+<!-- This transform assembles all fragments into one "shorthand" XCCDF document -->
+
   <xsl:template match="Benchmark">
     <xsl:copy>
       <xsl:copy-of select="@*|node()" />
+
+       <!-- adding profiles here -->
+		<xsl:apply-templates select="document('profiles/test.xml')" />
+		<xsl:apply-templates select="document('profiles/CS2.xml')" />
+		<xsl:apply-templates select="document('profiles/common.xml')" />
+		<xsl:apply-templates select="document('profiles/desktop.xml')" />
+		<xsl:apply-templates select="document('profiles/server.xml')" />
+		<xsl:apply-templates select="document('profiles/ftp.xml')" />
+		<xsl:apply-templates select="document('profiles/stig-rhel6-server.xml')" />
+
        <Value id="conditional_clause" type="string" operator="equals">
                  <title>A conditional clause for check statements.</title>
                  <description>A conditional clause for check statements.</description>
                  <value>This is a placeholder.</value>
        </Value>
-
       <xsl:apply-templates select="document('intro/intro.xml')" />
       <xsl:apply-templates select="document('system/system.xml')" />
       <xsl:apply-templates select="document('services/services.xml')" />
-- 
1.7.1



More information about the scap-security-guide mailing list