From 4d4f7ac7dbb49362af378e32d5d6bd584a242dbc Mon Sep 17 00:00:00 2001 From: skyanth Date: Fri, 24 Feb 2017 14:09:45 +0100 Subject: [PATCH] added pie chart - summary table links for threatLevel type --- xml/xslt/auto.xslt | 140 +++++++++++++++++++++++++++++++++++++++------ 1 file changed, 121 insertions(+), 19 deletions(-) diff --git a/xml/xslt/auto.xslt b/xml/xslt/auto.xslt index fd82f94..6a78164 100644 --- a/xml/xslt/auto.xslt +++ b/xml/xslt/auto.xslt @@ -36,6 +36,84 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + summaryTableThreatLevel + + + + + + + + + + + + + + + + @@ -66,26 +144,26 @@ + select="$findingSummaryTable/findingEntry[@status = $status][ancestor::*[@id = $Ref]]"> + select="$findingSummaryTable/findingEntry[@status = $status]"> + select="$findingSummaryTable/findingEntry[ancestor::*[@id = $Ref]]"> - + @@ -99,29 +177,30 @@ - + + + + + + + + + - + - - - - - - - - + - + @@ -415,10 +494,13 @@ - Pie chart can only be generated when there are findings in the report. Get to work! ;) + + Pie chart can only be generated when + there are findings in the report. Get to work! ;) + - + @@ -559,6 +641,22 @@ + ( + + + + + summaryTableThreatLevel + + + + + + + + ) @@ -659,8 +757,12 @@ - - + + + + + +