From a1df0a45a4fafa9142b0b6b7bc5a633dce0c6ad8 Mon Sep 17 00:00:00 2001 From: Adrian Kummerlaender Date: Tue, 22 Jul 2014 21:04:31 +0200 Subject: Restructured generation logic into separate templates * root template iterates through the levels and calls the "process" template for each stylesheet * the "process" template handles metadata extraction and main datasource resolution ** calls "compile" template for generation preparation * the "compile" template resolves the support datasources, merges the final datasource and resolves the target path using additional helper templates * actual generation of the result is preformed by the "generate" template as before --- generate.xsl | 206 ++++++++++++++++++++++++++++++++--------------------------- 1 file changed, 113 insertions(+), 93 deletions(-) (limited to 'generate.xsl') diff --git a/generate.xsl b/generate.xsl index f256c9d..eace77a 100644 --- a/generate.xsl +++ b/generate.xsl @@ -15,7 +15,7 @@ indent="yes" /> - + @@ -27,51 +27,126 @@ )/self::generation"/> - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - + + + + + - - + + - + - - - + + + - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -79,65 +154,10 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + -- cgit v1.2.3