From c8bf8044eed7df60bfc645097df90dd111554f2f Mon Sep 17 00:00:00 2001
From: Adrian Kummerlaender
Date: Sat, 11 Oct 2014 23:31:38 +0200
Subject: Implemented module support * module support aims to enable extraction
of core static site generation functionality implemented for my personal blog
into a separate project ** i.e. the detail transformations of repository
[blog.kummerlaender.eu](https://github.com/KnairdA/blog.kummerlaender.eu/) *
a BuildXSLT module is a simple XML file definining the transformations which
make up the module * modules may be built using the newly implemented
"module" task type ** this task requires a input and definition node *** the
input node is resolved in the same way as "generate" input nodes *** the
definition node currently only supports the file mode ** chained
transformation links inside the definition are resolved relative to the
definition files location *** this was enabled by commit `a4a7ee4` to
InputXSLT * restructured task processing * transformations are now read by
"InputXSLT:generate" instead of by "InputXSLT:read-file" ** this enables
entities to be resolved against the transformation location ** this was
enabled through filesystem context resolution changes in commit `3c166ed` to
InputXSLT * added basic error handling based on terminating XSLT messages
---
build.xsl | 190 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++-----
1 file changed, 176 insertions(+), 14 deletions(-)
diff --git a/build.xsl b/build.xsl
index bd57c40..585cb12 100644
--- a/build.xsl
+++ b/build.xsl
@@ -18,10 +18,23 @@
-
+ string($transformation)
+ )/self::generation"/>
+
+
+
+
+
+
+
+ Failed to generate transformation "
+
+ "
+
+
+
@@ -51,22 +64,97 @@
-
-
+
+
+
+
+
-
-
+
+
+ /
+
-
-
+
+
+
+
+ /
+
+
+
+
+
+
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Failed to resolve module "
+
+ "
+
+
+
+
+
+
+
+
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Failed to resolve module definition mode "
+
+ "
+
+
+
+
+
+
+
+
+
+
+
-
+
@@ -79,13 +167,87 @@
-
+
-
+
+
+
+ Failed to resolve transformation mode "
+
+ "
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Failed to resolve input mode "
+
+ "
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Failed to handle task type "
+
+ "
+
+
+
+
--
cgit v1.2.3