Signed-off-by: David Smith dsmith@eclipse.ncsc.mil --- RHEL6/transforms/shorthand2xccdf.xslt | 14 ++++++++++++++ 1 files changed, 14 insertions(+), 0 deletions(-)
diff --git a/RHEL6/transforms/shorthand2xccdf.xslt b/RHEL6/transforms/shorthand2xccdf.xslt index d899f48..0d8f56e 100644 --- a/RHEL6/transforms/shorthand2xccdf.xslt +++ b/RHEL6/transforms/shorthand2xccdf.xslt @@ -48,6 +48,20 @@ exclude-result-prefixes="xccdf xhtml"> </xsl:copy> </xsl:template>
+ + <xsl:template match="Group"> + xsl:copy + <xsl:apply-templates select="@*" /> + <xsl:apply-templates select="title"/> + <xsl:apply-templates select="description"/> + <xsl:apply-templates select="warning"/> + <xsl:apply-templates select="ref"/> + <xsl:apply-templates select="rationale"/> + <xsl:apply-templates select="node()[not(self::title|self::description|self::warning|self::ref|self::rationale)]"/> + </xsl:copy> + </xsl:template> + + <!-- expand reference to ident types --> <xsl:template match="Rule/ident"> <xsl:for-each select="@*">