aboutsummaryrefslogtreecommitdiff
path: root/process.xsl
diff options
context:
space:
mode:
authorAdrian Kummerlaender2014-08-24 23:20:54 +0200
committerAdrian Kummerlaender2014-08-24 23:20:54 +0200
commit8aca155ea840cb3064d58b78508195be3bbcfdb3 (patch)
treedebadd89dc44eb5ab8b04be4806ebc8787325942 /process.xsl
parent095905fbc32c971b8847bf5c3dd32f3409c9b46b (diff)
downloadblog.kummerlaender.eu-8aca155ea840cb3064d58b78508195be3bbcfdb3.tar
blog.kummerlaender.eu-8aca155ea840cb3064d58b78508195be3bbcfdb3.tar.gz
blog.kummerlaender.eu-8aca155ea840cb3064d58b78508195be3bbcfdb3.tar.bz2
blog.kummerlaender.eu-8aca155ea840cb3064d58b78508195be3bbcfdb3.tar.lz
blog.kummerlaender.eu-8aca155ea840cb3064d58b78508195be3bbcfdb3.tar.xz
blog.kummerlaender.eu-8aca155ea840cb3064d58b78508195be3bbcfdb3.tar.zst
blog.kummerlaender.eu-8aca155ea840cb3064d58b78508195be3bbcfdb3.zip
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
Diffstat (limited to 'process.xsl')
-rw-r--r--process.xsl14
1 files changed, 12 insertions, 2 deletions
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"
/>
-<xsl:include href="utility/helper.xsl"/>
+<xsl:include href="utility/datasource.xsl"/>
<xsl:template name="create_link">
<xsl:param name="from"/>
@@ -53,6 +53,16 @@
</subtask>
</xsl:template>
+<xsl:template name="merge_datasource">
+ <xsl:param name="main"/>
+ <xsl:param name="support"/>
+
+ <datasource>
+ <xsl:copy-of select="$main"/>
+ <xsl:copy-of select="$support"/>
+ </datasource>
+</xsl:template>
+
<xsl:template name="resolve_target">
<xsl:param name="prefix"/>
<xsl:param name="target"/>