From 76b9348d4ba4c856d888b32f31f1fa7d80e35cbf Mon Sep 17 00:00:00 2001 From: Adrian Kummerlaender Date: Wed, 23 Jul 2014 17:44:23 +0200 Subject: Added recursive traversion of all folders in each level * enables representing the result folder structure in the source ** e.g. the "page.xsl" transformation is located in "source/pages" and the result is therefore written to "target/pages" ** this enables simplification of target metadata as it is now automatically relative to the level * modified page template accordingly --- generate.xsl | 54 ++++++++++++++++++++++++++++++----------- source/03_result/page.xsl | 36 --------------------------- source/03_result/pages/page.xsl | 36 +++++++++++++++++++++++++++ 3 files changed, 76 insertions(+), 50 deletions(-) delete mode 100644 source/03_result/page.xsl create mode 100644 source/03_result/pages/page.xsl diff --git a/generate.xsl b/generate.xsl index eace77a..be7d7a3 100644 --- a/generate.xsl +++ b/generate.xsl @@ -100,14 +100,13 @@ - + - @@ -119,7 +118,7 @@ - + @@ -133,7 +132,7 @@ - + @@ -142,24 +141,51 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - + source + target - - - - - - - + + + + diff --git a/source/03_result/page.xsl b/source/03_result/page.xsl deleted file mode 100644 index fc8b3a5..0000000 --- a/source/03_result/page.xsl +++ /dev/null @@ -1,36 +0,0 @@ - - - - - - - - - - - - - - - - - - -
-

- -
-
- -
diff --git a/source/03_result/pages/page.xsl b/source/03_result/pages/page.xsl new file mode 100644 index 0000000..8fced90 --- /dev/null +++ b/source/03_result/pages/page.xsl @@ -0,0 +1,36 @@ + + + + + + + + + + + + + + + + + + +
+

+ +
+
+ +
-- cgit v1.2.3