From b29bcf81e4a40ea0bde895799319e052c014e650 Mon Sep 17 00:00:00 2001 From: skyanth Date: Mon, 3 Jul 2017 15:11:20 +0200 Subject: [PATCH] Revert "Exec summary switch now generates report as well as executive summary (and not just the summary)" This reverts commit ef1ff0542c8dc73752ff3da70f110b4f08196b74. --- xml/xslt/generate_report.xsl | 18 ++++++++---------- xml/xslt/inline.xslt | 3 +-- xml/xslt/meta.xslt | 6 ++---- xml/xslt/numbering.xslt | 3 +-- xml/xslt/structure.xslt | 6 ++---- xml/xslt/toc.xslt | 14 ++++++-------- 6 files changed, 20 insertions(+), 30 deletions(-) diff --git a/xml/xslt/generate_report.xsl b/xml/xslt/generate_report.xsl index beebdc6..fbb4e43 100644 --- a/xml/xslt/generate_report.xsl +++ b/xml/xslt/generate_report.xsl @@ -58,28 +58,26 @@ - + + - - - + - + + - - - + - - + + diff --git a/xml/xslt/inline.xslt b/xml/xslt/inline.xslt index 353b9cd..4140f29 100644 --- a/xml/xslt/inline.xslt +++ b/xml/xslt/inline.xslt @@ -4,7 +4,6 @@ xmlns:fo="http://www.w3.org/1999/XSL/Format" version="2.0"> - @@ -21,7 +20,7 @@ DOCUMENT + test="(starts-with(@href, '#') and //*[@id = $destination][ancestor-or-self::*[@visibility = 'hidden']]) or (starts-with(@href, '#') and $EXEC_SUMMARY=true() and //*[@id = $destination][ancestor-or-self::*[not(@inexecsummary='yes')]])"> WARNING: LINK TARGET IS HIDDEN diff --git a/xml/xslt/meta.xslt b/xml/xslt/meta.xslt index ec114bd..fd6d87f 100644 --- a/xml/xslt/meta.xslt +++ b/xml/xslt/meta.xslt @@ -5,7 +5,6 @@ version="2.0"> - @@ -21,7 +20,7 @@ - + PENETRATION TEST MANAGEMENT SUMMARY @@ -62,7 +61,6 @@ - @@ -98,7 +96,7 @@ - + PENETRATION TEST MANAGEMENT SUMMARY diff --git a/xml/xslt/numbering.xslt b/xml/xslt/numbering.xslt index 934b863..12232bd 100644 --- a/xml/xslt/numbering.xslt +++ b/xml/xslt/numbering.xslt @@ -36,9 +36,8 @@ - - + Appendix  - - + @@ -30,7 +29,6 @@ - @@ -43,7 +41,7 @@ - + Appendix  - + - + @@ -40,7 +40,6 @@ - @@ -67,7 +66,7 @@ - + @@ -96,11 +95,10 @@ - - + Appendix  @@ -114,7 +112,7 @@ - + App  - +