diff --git a/ccm-sci-bundle/web/themes/foundry/doc/xsl/foundry-documentation.xsl b/ccm-sci-bundle/web/themes/foundry/doc/xsl/foundry-documentation.xsl
index 02229c7a0..81f3ea53d 100644
--- a/ccm-sci-bundle/web/themes/foundry/doc/xsl/foundry-documentation.xsl
+++ b/ccm-sci-bundle/web/themes/foundry/doc/xsl/foundry-documentation.xsl
@@ -33,8 +33,7 @@
-
+ <!DOCTYPE HTML>
+ version="2.0">
diff --git a/ccm-sci-bundle/web/themes/foundry/foundry/lib/template-parser.xsl b/ccm-sci-bundle/web/themes/foundry/foundry/lib/template-parser.xsl
index 6bcfefd05..1dec33f72 100644
--- a/ccm-sci-bundle/web/themes/foundry/foundry/lib/template-parser.xsl
+++ b/ccm-sci-bundle/web/themes/foundry/foundry/lib/template-parser.xsl
@@ -22,22 +22,22 @@
-->
+ exclude-result-prefixes="xsl bebop cms nav ui"
+ version="2.0">
- Root element of a template. Generates the doctype statement and and
+ Root element of a template. Generates the
<html> root element.
- <!DOCTYPE html>
@@ -80,16 +80,14 @@
Helper functions for generating the name of the colorset class.
-
-
-
-
- colorset_
-
-
-
-
-
+
+
+
+ colorset_
+
+
+
+
@@ -97,13 +95,11 @@
from the result tree XML.
-
-
-
-
-
+
+
+
-
+
Helper template for processing arrows/links for sorting items.
@@ -151,7 +147,7 @@
-
+
Helper template for processing additional attributes in the data tree XML. They copied
literally from the XML the HTML.
@@ -189,7 +185,7 @@
-
+
Helper template for setting the id and class attributes
on a HTML element.
diff --git a/ccm-sci-bundle/web/themes/foundry/foundry/lib/template-tags.xsl b/ccm-sci-bundle/web/themes/foundry/foundry/lib/template-tags.xsl
index 2dff433f6..07cb819b7 100644
--- a/ccm-sci-bundle/web/themes/foundry/foundry/lib/template-tags.xsl
+++ b/ccm-sci-bundle/web/themes/foundry/foundry/lib/template-tags.xsl
@@ -20,7 +20,7 @@
-->
+ version="2.0">
diff --git a/ccm-sci-bundle/web/themes/foundry/foundry/lib/template-tags/data-tags.xsl b/ccm-sci-bundle/web/themes/foundry/foundry/lib/template-tags/data-tags.xsl
index 90fba9a43..5b9b45655 100644
--- a/ccm-sci-bundle/web/themes/foundry/foundry/lib/template-tags/data-tags.xsl
+++ b/ccm-sci-bundle/web/themes/foundry/foundry/lib/template-tags/data-tags.xsl
@@ -21,8 +21,7 @@
+ version="2.0">
diff --git a/ccm-sci-bundle/web/themes/foundry/foundry/lib/template-tags/html-tags.xsl b/ccm-sci-bundle/web/themes/foundry/foundry/lib/template-tags/html-tags.xsl
index 4693681a0..a735e7a62 100644
--- a/ccm-sci-bundle/web/themes/foundry/foundry/lib/template-tags/html-tags.xsl
+++ b/ccm-sci-bundle/web/themes/foundry/foundry/lib/template-tags/html-tags.xsl
@@ -25,13 +25,13 @@
xmlns:foundry="http://foundry.libreccm.org"
xmlns:ui="http://www.arsdigita.com/ui/1.0"
exclude-result-prefixes="xsl bebop foundry ui"
- version="1.0">
+ version="2.0">
- Generates a HTML a element. There are some differences to the
- a element in HTML. First, there two attribute for the URL:
+ Generates a HTML a element. There are some differences to the
+ a element in HTML. First, there two attribute for the URL:
+
+
Generates a HTML5 main element.
@@ -397,6 +416,13 @@
+
+
+
+
+
+
+
@@ -536,7 +562,12 @@
-
+
+
+
+
+
+
diff --git a/ccm-sci-bundle/web/themes/foundry/foundry/lib/template-tags/loaders.xsl b/ccm-sci-bundle/web/themes/foundry/foundry/lib/template-tags/loaders.xsl
index 3c16e5555..158afebff 100644
--- a/ccm-sci-bundle/web/themes/foundry/foundry/lib/template-tags/loaders.xsl
+++ b/ccm-sci-bundle/web/themes/foundry/foundry/lib/template-tags/loaders.xsl
@@ -25,7 +25,7 @@
xmlns:bebop="http://www.arsdigita.com/bebop/1.0"
xmlns:foundry="http://foundry.libreccm.org"
xmlns:ui="http://www.arsdigita.com/ui/1.0"
- version="1.0">
+ version="2.0">
@@ -180,7 +180,7 @@
-
- The id of the navigation/category system from which URL should be retrieved. Default
+ The id of the navigation/category system from which URL should be retrieved. Default
value is categoryMenu, which is suitable in most cases.
@@ -26,7 +25,7 @@
Environment for outputting the home link for a navigation/category system. This tag
- only intializes the context. The link itself has to be rendered using the a
+ only initialises the context. The link itself has to be rendered using the a
HTML tag. The title of the navigation is printed using the navigation-title
tag.
@@ -35,13 +34,13 @@
-
+ select="foundry:get-attribute-value(current(), 'navigation-id', 'categoryMenu')"/>
-
-
+ select="$data-tree//nav:categoryMenu[@id=$navigation-id]/nav:category/@url"
+ tunnel="yes"/>
+
+
@@ -49,7 +48,7 @@
-
+
@@ -62,213 +61,74 @@
-
+
+
-
-
+
+ select="foundry:get-attribute-value(current(), 'navigation-id', 'categoryMenu')"
+ tunnel="yes"/>
+ select="foundry:get-attribute-value(current(), 'with-colorset', 'false')"
+ tunnel="yes"/>
+ select="foundry:get-attribute-value(current(), 'min-level', 1)"
+ tunnel="yes"/>
+ select="foundry:get-attribute-value(current(), 'max-level', 999)"
+ tunnel="yes"/>
+ select="foundry:get-attribute-value(current(), 'show-description-text', 'true')"
+ tunnel="yes"/>
-
-
-
-
-
-
-
-
-