From 55639568a5c4f9f58d38d4f92bb6b8e7d760294e Mon Sep 17 00:00:00 2001 From: Adrian Kummerlaender Date: Sat, 19 Jul 2014 14:32:15 +0200 Subject: Reactivated basic page generation * page template is called by the pages compiler * modified master transformation to match new meta structure * the context variable needed by the context transformation now has to be defined in every template using the transformation ** this is needed to accomodate different input DOM structures --- generate.xsl | 2 ++ template/compiler/pages.xsl | 10 +++++++++- template/output/master.xsl | 18 +++++++++--------- utility/context.xsl | 2 -- 4 files changed, 20 insertions(+), 12 deletions(-) diff --git a/generate.xsl b/generate.xsl index e0e8121..04a9c2f 100644 --- a/generate.xsl +++ b/generate.xsl @@ -17,6 +17,8 @@ + + diff --git a/template/compiler/pages.xsl b/template/compiler/pages.xsl index f4ada83..dbde8c9 100644 --- a/template/compiler/pages.xsl +++ b/template/compiler/pages.xsl @@ -14,12 +14,20 @@ indent="yes" /> + + + + - Compile page: + + + + + diff --git a/template/output/master.xsl b/template/output/master.xsl index e2b77b4..fa00f9e 100644 --- a/template/output/master.xsl +++ b/template/output/master.xsl @@ -25,7 +25,7 @@ - + @@ -33,13 +33,13 @@ - + - Start - Archiv - Projekte - Kontakt - RSS + Start + Archiv + Projekte + Kontakt + RSS @@ -50,8 +50,8 @@ Gemacht mit XSLT - Kontakt - RSS + Kontakt + RSS diff --git a/utility/context.xsl b/utility/context.xsl index 87447bf..9dbfdc9 100644 --- a/utility/context.xsl +++ b/utility/context.xsl @@ -10,8 +10,6 @@ - - -- cgit v1.2.3