From 299b5a6d694101be3e053d2a6a680a5ad2d5744b Mon Sep 17 00:00:00 2001 From: Adrian Kummerlaender Date: Mon, 8 Dec 2014 19:28:32 +0100 Subject: Unraveled recursive call based planning transformation * eliminated all custom flow control through usage of correctly defined templates called via `apply-templates` ** parameters are passed to the next recursion through a custom `level` node tree *** this tree may be constructed using `construct_level` * this approach is more flexible and more in line with how XSLT should be used ** it is now a more direct transformation between the source directory tree and the planned task structure * analogously to the directory listing which was refactored in `26c0da` --- src/steps/plan.xsl | 156 +++++++++++++++++++++++++++++------------------------ 1 file changed, 87 insertions(+), 69 deletions(-) diff --git a/src/steps/plan.xsl b/src/steps/plan.xsl index 88ecbdb..ba54aba 100644 --- a/src/steps/plan.xsl +++ b/src/steps/plan.xsl @@ -17,78 +17,100 @@ - - - - + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -96,11 +118,7 @@ - - - - - + -- cgit v1.2.3