From 6150e834e72000dfd4005789d3a1ef9b542802f1 Mon Sep 17 00:00:00 2001 From: Adrian Kummerlaender Date: Wed, 3 Sep 2014 21:11:52 +0200 Subject: Revamped transformation layout to remove need for the "01_files" level * "01_files" contained a single "source" transformation which listed the contents of the "00_content" level ** this was unnecessary as the base "list" transformation already lists the contents of all levels * added new "expression" mode to datasource meta tag processing in the task processing transformation ** this expression modes allows for the evaluation of arbitrary XPath statements *** e.g. a query to the results of "list.xsl" * modified base transformation datasource structures to include the level and meta tree * modified all existing content transformations to query the level-tree instead of the deprecated "source.xml" ** i.e. XPath statements ** the main change is that directories are available as "directory" nodes instead of nodes named by the directory name * these changes where implemented to simplify the architecture and to increase flexibility --- source/02_meta/articles.xsl | 41 +++++++++++++++++++++++++++++++ source/02_meta/categories.xsl | 45 +++++++++++++++++++++++++++++++++++ source/02_meta/meta.xsl | 29 ++++++++++++++++++++++ source/02_meta/paginated_articles.xsl | 26 ++++++++++++++++++++ source/02_meta/tags.xsl | 42 ++++++++++++++++++++++++++++++++ 5 files changed, 183 insertions(+) create mode 100644 source/02_meta/articles.xsl create mode 100644 source/02_meta/categories.xsl create mode 100644 source/02_meta/meta.xsl create mode 100644 source/02_meta/paginated_articles.xsl create mode 100644 source/02_meta/tags.xsl (limited to 'source/02_meta') diff --git a/source/02_meta/articles.xsl b/source/02_meta/articles.xsl new file mode 100644 index 0000000..1a8b8fa --- /dev/null +++ b/source/02_meta/articles.xsl @@ -0,0 +1,41 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + <xsl:value-of select="title"/> + + + + +
+
+
+ +
diff --git a/source/02_meta/categories.xsl b/source/02_meta/categories.xsl new file mode 100644 index 0000000..c0075b0 --- /dev/null +++ b/source/02_meta/categories.xsl @@ -0,0 +1,45 @@ + + + + + + + + + + + + + + + + + + + <xsl:value-of select="$page/title"/> + + + + + + + + + + + + + + + + + + + + diff --git a/source/02_meta/meta.xsl b/source/02_meta/meta.xsl new file mode 100644 index 0000000..f0c48d7 --- /dev/null +++ b/source/02_meta/meta.xsl @@ -0,0 +1,29 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/source/02_meta/paginated_articles.xsl b/source/02_meta/paginated_articles.xsl new file mode 100644 index 0000000..9fb38a9 --- /dev/null +++ b/source/02_meta/paginated_articles.xsl @@ -0,0 +1,26 @@ + + + + + + + + + + + + + + + + + + + +
+ + + diff --git a/source/02_meta/tags.xsl b/source/02_meta/tags.xsl new file mode 100644 index 0000000..20b1f10 --- /dev/null +++ b/source/02_meta/tags.xsl @@ -0,0 +1,42 @@ + + + + + + + + + + + + + + + + + + <xsl:value-of select="$article/self::title"/> + + + + + + + + + + + + + +
+ + + +
+
+ +
-- cgit v1.2.3