From 26c0da85cef1915c06661c913c4f2b5fb695a39f Mon Sep 17 00:00:00 2001 From: Adrian Kummerlaender Date: Sun, 7 Dec 2014 17:13:26 +0100 Subject: Replaced recursive call based directory listing with template application * using `apply-templates` with a call to `read-directory` as its `select` attribute is more straight forward * additionally it reduces code overhead and eliminates custom flow control ** i.e. its the superior way of traversing directories --- src/steps/list.xsl | 31 ++++++++++--------------------- 1 file changed, 10 insertions(+), 21 deletions(-) (limited to 'src/steps') diff --git a/src/steps/list.xsl b/src/steps/list.xsl index c70a6bf..40dee98 100644 --- a/src/steps/list.xsl +++ b/src/steps/list.xsl @@ -15,34 +15,23 @@ - - + + + + + - - - - - - - - - - - - - - - - + + + + - - - + -- cgit v1.2.3