From 2458ce157f1e2a3fdb023f6779ba47f253463a54 Mon Sep 17 00:00:00 2001 From: Adrian Kummerlaender Date: Thu, 11 Sep 2014 21:09:55 +0200 Subject: Fixed XHTML namespace generation * all datasources are generated as namespace-less XML * the resulting documents have to define the XHTML namespace ** i.e. the article and page contents have to be copied into the XHTML namespace * implemented XHTML copy helper templates * modified page templates accordingly * defined XHTML namespace in the master template --- source/99_result/archive.xsl | 1 + source/99_result/article/article.xsl | 5 ++++- source/99_result/category/category.xsl | 4 +++- source/99_result/page/page.xsl | 5 ++++- source/99_result/stream.xsl | 5 ++++- source/99_result/tag/tag.xsl | 1 + utility/master.xsl | 1 + utility/xhtml.xsl | 18 ++++++++++++++++++ 8 files changed, 36 insertions(+), 4 deletions(-) create mode 100644 utility/xhtml.xsl diff --git a/source/99_result/archive.xsl b/source/99_result/archive.xsl index 909f77f..5694779 100644 --- a/source/99_result/archive.xsl +++ b/source/99_result/archive.xsl @@ -1,6 +1,7 @@ diff --git a/source/99_result/article/article.xsl b/source/99_result/article/article.xsl index 9ce19df..8d3954e 100644 --- a/source/99_result/article/article.xsl +++ b/source/99_result/article/article.xsl @@ -1,10 +1,12 @@ + @@ -41,7 +43,8 @@ | Comments

- + +
diff --git a/source/99_result/category/category.xsl b/source/99_result/category/category.xsl index 4b49705..e0532aa 100644 --- a/source/99_result/category/category.xsl +++ b/source/99_result/category/category.xsl @@ -1,12 +1,14 @@ + @@ -24,7 +26,7 @@

- +

diff --git a/source/99_result/page/page.xsl b/source/99_result/page/page.xsl index b703f46..5e29cdb 100644 --- a/source/99_result/page/page.xsl +++ b/source/99_result/page/page.xsl @@ -1,10 +1,12 @@ + @@ -25,7 +27,8 @@

- + + diff --git a/source/99_result/stream.xsl b/source/99_result/stream.xsl index 3fe93e1..5764461 100644 --- a/source/99_result/stream.xsl +++ b/source/99_result/stream.xsl @@ -1,10 +1,12 @@ + @@ -51,7 +53,8 @@ |

- + + diff --git a/source/99_result/tag/tag.xsl b/source/99_result/tag/tag.xsl index a727111..5d41e0f 100644 --- a/source/99_result/tag/tag.xsl +++ b/source/99_result/tag/tag.xsl @@ -1,6 +1,7 @@ diff --git a/utility/master.xsl b/utility/master.xsl index b495877..7227df1 100644 --- a/utility/master.xsl +++ b/utility/master.xsl @@ -1,6 +1,7 @@ diff --git a/utility/xhtml.xsl b/utility/xhtml.xsl new file mode 100644 index 0000000..7347962 --- /dev/null +++ b/utility/xhtml.xsl @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + -- cgit v1.2.3