From 8aca155ea840cb3064d58b78508195be3bbcfdb3 Mon Sep 17 00:00:00 2001
From: Adrian Kummerlaender
Date: Sun, 24 Aug 2014 23:20:54 +0200
Subject: Implemented basic generation summary * "summarize.xsl" processes the
result-tree of "process.xsl" and outputs a basic plain-text summary ** the
plain-text summary is returned as the sole result of calling "make.xsl" *
this approach should be easily extensible into i.e. a verbose version in the
future * unraveled "make.xsl" structure into separate variables
---
make.xsl | 63 ++++++++++++++++++++++++++++++------------------------
plan.xsl | 2 +-
process.xsl | 14 ++++++++++--
summarize.xsl | 37 ++++++++++++++++++++++++++++++++
utility/helper.xsl | 10 ---------
5 files changed, 85 insertions(+), 41 deletions(-)
create mode 100644 summarize.xsl
diff --git a/make.xsl b/make.xsl
index 159e232..f073910 100644
--- a/make.xsl
+++ b/make.xsl
@@ -11,11 +11,9 @@
method="xml"
omit-xml-declaration="yes"
encoding="UTF-8"
- indent="yes"
+ indent="no"
/>
-
-
@@ -30,33 +28,42 @@
source
target
-
-
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
- list.xsl
-
-
-
-
-
-
-
-
-
-
- plan.xsl
+
+ list.xsl
-
- process.xsl
+
+
+
+
+
+
+
+
+
+
+ plan.xsl
+
+
+
+
+
+
+ process.xsl
+
+
+
+
+
+ summarize.xsl
diff --git a/plan.xsl b/plan.xsl
index 6754d14..2401019 100644
--- a/plan.xsl
+++ b/plan.xsl
@@ -12,7 +12,7 @@
method="xml"
omit-xml-declaration="yes"
encoding="UTF-8"
- indent="yes"
+ indent="no"
/>
diff --git a/process.xsl b/process.xsl
index a054965..a0c1895 100644
--- a/process.xsl
+++ b/process.xsl
@@ -12,10 +12,10 @@
method="xml"
omit-xml-declaration="yes"
encoding="UTF-8"
- indent="yes"
+ indent="no"
/>
-
+
@@ -53,6 +53,16 @@
+
+
+
+
+
+
+
+
+
+
diff --git a/summarize.xsl b/summarize.xsl
new file mode 100644
index 0000000..78f89fd
--- /dev/null
+++ b/summarize.xsl
@@ -0,0 +1,37 @@
+
+
+
+
+
+
+
+
+
+ Tasks processed:
+
+
+ Tasks successful:
+
+
+
+ ▶ Generation
+
+
+ successful
+
+
+ failed
+
+
+ .
+
+
+
diff --git a/utility/helper.xsl b/utility/helper.xsl
index 0ebc15d..84b6b31 100644
--- a/utility/helper.xsl
+++ b/utility/helper.xsl
@@ -7,16 +7,6 @@
exclude-result-prefixes="xalan InputXSLT"
>
-
-
-
-
-
-
-
-
-
-
--
cgit v1.2.3