aboutsummaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authordakkar <dakkar@luxion>2008-01-03 15:32:35 +0000
committerdakkar <dakkar@luxion>2008-01-03 15:32:35 +0000
commitcb9651dc90682570b1fde612771ea6856ee8c58e (patch)
tree557a12568a8f573a84629adc536ec863b51d4319 /t
parentchaged default form of dstUriFor, prepared for XML-visible tags (diff)
downloadWebCoso-cb9651dc90682570b1fde612771ea6856ee8c58e.tar.gz
WebCoso-cb9651dc90682570b1fde612771ea6856ee8c58e.tar.bz2
WebCoso-cb9651dc90682570b1fde612771ea6856ee8c58e.zip
added taglist to single pages
git-svn-id: svn://luxion/repos/WebCoso/trunk@322 fcb26f47-9200-0410-b104-b98ab5b095f3
Diffstat (limited to 't')
-rw-r--r--t/test-site-output/bar/baz/document.en.html19
-rw-r--r--t/test-site-output/bar/baz/document.it.html17
-rw-r--r--t/test-site-output/bar/document.en.html19
-rw-r--r--t/test-site-output/bar/document.it.html17
-rw-r--r--t/test-site-output/document.en.html19
-rw-r--r--t/test-site-output/document.it.html17
-rw-r--r--t/test-site-output/foo/document.en.html19
-rw-r--r--t/test-site-output/foo/document.it.html17
-rw-r--r--t/test-site-output/tags/one/document.en.html19
-rw-r--r--t/test-site-output/tags/one/document.it.html17
-rw-r--r--t/test-site-output/tags/three/bis/document.en.html19
-rw-r--r--t/test-site-output/tags/three/bis/document.it.html17
-rw-r--r--t/test-site-output/tags/three/document.en.html19
-rw-r--r--t/test-site-output/tags/three/document.it.html17
-rw-r--r--t/test-site-output/tags/two/document.en.html19
-rw-r--r--t/test-site-output/tags/two/document.it.html17
-rw-r--r--t/test-site/src/common/du2html.xsl39
17 files changed, 293 insertions, 34 deletions
diff --git a/t/test-site-output/bar/baz/document.en.html b/t/test-site-output/bar/baz/document.en.html
index 440ea1b..7605cab 100644
--- a/t/test-site-output/bar/baz/document.en.html
+++ b/t/test-site-output/bar/baz/document.en.html
@@ -1,6 +1,21 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:wc="http://webcoso.thenautilus.net/" xml:lang="en" lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>bar-baz english
-</title></head><body><h1>bar-baz english
+</title></head><body><div><h1>bar-baz english
</h1><p>sticaz
-</p></body></html>
+</p></div><div><dl><dt>Category 'one'
+</dt><dd><a href="/bar/baz/">bar-baz english
+</a>
+ (<a href="/bar/baz/it">it</a> | en)
+ <a href="/foo/">foo page
+</a>
+ (<a href="/foo/it">it</a> | en)
+ </dd><dt>Category 'three/bis'
+</dt><dd><a href="/bar/baz/">bar-baz english
+</a>
+ (<a href="/bar/baz/it">it</a> | en)
+ </dd><dt>Category 'two'
+</dt><dd><a href="/foo/">foo page
+</a>
+ (<a href="/foo/it">it</a> | en)
+ </dd></dl></div></body></html>
diff --git a/t/test-site-output/bar/baz/document.it.html b/t/test-site-output/bar/baz/document.it.html
index 3cb5c92..beb5293 100644
--- a/t/test-site-output/bar/baz/document.it.html
+++ b/t/test-site-output/bar/baz/document.it.html
@@ -1,6 +1,19 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:wc="http://webcoso.thenautilus.net/" xml:lang="it" lang="it"><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>bar-baz italiano
-</title></head><body><h1>bar-baz italiano
+</title></head><body><div><h1>bar-baz italiano
</h1><p>sticaz
-</p></body></html>
+</p></div><div><dl><dt>Categoria 'uno'
+</dt><dd><a href="/bar/baz/">bar-baz italiano
+</a>
+ (it | <a href="/bar/baz/en">en</a>)
+ <a href="/foo/">Pagina <em>foo</em></a>
+ (it | <a href="/foo/en">en</a>)
+ </dd><dt>Categoria 'three/bis'
+</dt><dd><a href="/bar/baz/">bar-baz italiano
+</a>
+ (it | <a href="/bar/baz/en">en</a>)
+ </dd><dt>Categoria 'two'
+</dt><dd><a href="/foo/">Pagina <em>foo</em></a>
+ (it | <a href="/foo/en">en</a>)
+ </dd></dl></div></body></html>
diff --git a/t/test-site-output/bar/document.en.html b/t/test-site-output/bar/document.en.html
index 4f4f109..c88b9a9 100644
--- a/t/test-site-output/bar/document.en.html
+++ b/t/test-site-output/bar/document.en.html
@@ -1,9 +1,24 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:wc="http://webcoso.thenautilus.net/" xml:lang="en" lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>bar (from template)
-</title></head><body><h1>bar (from template)
+</title></head><body><div><h1>bar (from template)
</h1><ul><li>line 1
</li><li>line 2
</li><li>line 3
</li></ul><p>link: <a href="baz/">bar-baz english
-</a></p></body></html>
+</a></p></div><div><dl><dt>Category 'one'
+</dt><dd><a href="/bar/baz/">bar-baz english
+</a>
+ (<a href="/bar/baz/it">it</a> | en)
+ <a href="/foo/">foo page
+</a>
+ (<a href="/foo/it">it</a> | en)
+ </dd><dt>Category 'three/bis'
+</dt><dd><a href="/bar/baz/">bar-baz english
+</a>
+ (<a href="/bar/baz/it">it</a> | en)
+ </dd><dt>Category 'two'
+</dt><dd><a href="/foo/">foo page
+</a>
+ (<a href="/foo/it">it</a> | en)
+ </dd></dl></div></body></html>
diff --git a/t/test-site-output/bar/document.it.html b/t/test-site-output/bar/document.it.html
index b989a1f..dab74a3 100644
--- a/t/test-site-output/bar/document.it.html
+++ b/t/test-site-output/bar/document.it.html
@@ -1,9 +1,22 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:wc="http://webcoso.thenautilus.net/" xml:lang="it" lang="it"><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>bar (generato)
-</title></head><body><h1>bar (generato)
+</title></head><body><div><h1>bar (generato)
</h1><ul><li>line 1
</li><li>line 2
</li><li>line 3
</li></ul><p>link: <a href="baz/">bar-baz italiano
-</a></p></body></html>
+</a></p></div><div><dl><dt>Categoria 'uno'
+</dt><dd><a href="/bar/baz/">bar-baz italiano
+</a>
+ (it | <a href="/bar/baz/en">en</a>)
+ <a href="/foo/">Pagina <em>foo</em></a>
+ (it | <a href="/foo/en">en</a>)
+ </dd><dt>Categoria 'three/bis'
+</dt><dd><a href="/bar/baz/">bar-baz italiano
+</a>
+ (it | <a href="/bar/baz/en">en</a>)
+ </dd><dt>Categoria 'two'
+</dt><dd><a href="/foo/">Pagina <em>foo</em></a>
+ (it | <a href="/foo/en">en</a>)
+ </dd></dl></div></body></html>
diff --git a/t/test-site-output/document.en.html b/t/test-site-output/document.en.html
index 826c1d4..3f93fc4 100644
--- a/t/test-site-output/document.en.html
+++ b/t/test-site-output/document.en.html
@@ -1,6 +1,21 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:wc="http://webcoso.thenautilus.net/" xml:lang="en" lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Main page
-</title></head><body><h1>Main page
+</title></head><body><div><h1>Main page
</h1><ul><li><a href="foo/">foo page
-</a></li><li><a href="bar/">bar!</a></li><li><a href="bar/baz/">baz</a></li></ul></body></html>
+</a></li><li><a href="bar/">bar!</a></li><li><a href="bar/baz/">baz</a></li></ul></div><div><dl><dt>Category 'one'
+</dt><dd><a href="/bar/baz/">bar-baz english
+</a>
+ (<a href="/bar/baz/it">it</a> | en)
+ <a href="/foo/">foo page
+</a>
+ (<a href="/foo/it">it</a> | en)
+ </dd><dt>Category 'three/bis'
+</dt><dd><a href="/bar/baz/">bar-baz english
+</a>
+ (<a href="/bar/baz/it">it</a> | en)
+ </dd><dt>Category 'two'
+</dt><dd><a href="/foo/">foo page
+</a>
+ (<a href="/foo/it">it</a> | en)
+ </dd></dl></div></body></html>
diff --git a/t/test-site-output/document.it.html b/t/test-site-output/document.it.html
index 539c677..0c11761 100644
--- a/t/test-site-output/document.it.html
+++ b/t/test-site-output/document.it.html
@@ -1,5 +1,18 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:wc="http://webcoso.thenautilus.net/" xml:lang="it" lang="it"><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Pagina principale
-</title></head><body><h1>Pagina principale
-</h1><ul><li><a href="foo/">Pagina <em>foo</em></a></li><li><a href="bar/">bar!</a></li><li><a href="bar/baz/">baz</a></li></ul></body></html>
+</title></head><body><div><h1>Pagina principale
+</h1><ul><li><a href="foo/">Pagina <em>foo</em></a></li><li><a href="bar/">bar!</a></li><li><a href="bar/baz/">baz</a></li></ul></div><div><dl><dt>Categoria 'uno'
+</dt><dd><a href="/bar/baz/">bar-baz italiano
+</a>
+ (it | <a href="/bar/baz/en">en</a>)
+ <a href="/foo/">Pagina <em>foo</em></a>
+ (it | <a href="/foo/en">en</a>)
+ </dd><dt>Categoria 'three/bis'
+</dt><dd><a href="/bar/baz/">bar-baz italiano
+</a>
+ (it | <a href="/bar/baz/en">en</a>)
+ </dd><dt>Categoria 'two'
+</dt><dd><a href="/foo/">Pagina <em>foo</em></a>
+ (it | <a href="/foo/en">en</a>)
+ </dd></dl></div></body></html>
diff --git a/t/test-site-output/foo/document.en.html b/t/test-site-output/foo/document.en.html
index 780888a..227d322 100644
--- a/t/test-site-output/foo/document.en.html
+++ b/t/test-site-output/foo/document.en.html
@@ -1,6 +1,21 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:wc="http://webcoso.thenautilus.net/" xml:lang="en" lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>foo page
-</title></head><body><h1>foo page
+</title></head><body><div><h1>foo page
</h1><p>foo
-</p></body></html>
+</p></div><div><dl><dt>Category 'one'
+</dt><dd><a href="/bar/baz/">bar-baz english
+</a>
+ (<a href="/bar/baz/it">it</a> | en)
+ <a href="/foo/">foo page
+</a>
+ (<a href="/foo/it">it</a> | en)
+ </dd><dt>Category 'three/bis'
+</dt><dd><a href="/bar/baz/">bar-baz english
+</a>
+ (<a href="/bar/baz/it">it</a> | en)
+ </dd><dt>Category 'two'
+</dt><dd><a href="/foo/">foo page
+</a>
+ (<a href="/foo/it">it</a> | en)
+ </dd></dl></div></body></html>
diff --git a/t/test-site-output/foo/document.it.html b/t/test-site-output/foo/document.it.html
index a10ed57..d7e078f 100644
--- a/t/test-site-output/foo/document.it.html
+++ b/t/test-site-output/foo/document.it.html
@@ -1,4 +1,17 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:wc="http://webcoso.thenautilus.net/" xml:lang="it" lang="it"><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8">
-<title>Pagina foo</title></head><body><h1>Pagina <em>foo</em></h1><p>foo
-</p></body></html>
+<title>Pagina foo</title></head><body><div><h1>Pagina <em>foo</em></h1><p>foo
+</p></div><div><dl><dt>Categoria 'uno'
+</dt><dd><a href="/bar/baz/">bar-baz italiano
+</a>
+ (it | <a href="/bar/baz/en">en</a>)
+ <a href="/foo/">Pagina <em>foo</em></a>
+ (it | <a href="/foo/en">en</a>)
+ </dd><dt>Categoria 'three/bis'
+</dt><dd><a href="/bar/baz/">bar-baz italiano
+</a>
+ (it | <a href="/bar/baz/en">en</a>)
+ </dd><dt>Categoria 'two'
+</dt><dd><a href="/foo/">Pagina <em>foo</em></a>
+ (it | <a href="/foo/en">en</a>)
+ </dd></dl></div></body></html>
diff --git a/t/test-site-output/tags/one/document.en.html b/t/test-site-output/tags/one/document.en.html
index 7a90cab..2a2ebd4 100644
--- a/t/test-site-output/tags/one/document.en.html
+++ b/t/test-site-output/tags/one/document.en.html
@@ -1,7 +1,22 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:wc="http://webcoso.thenautilus.net/" xml:lang="en" lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Category 'one'
-</title></head><body><h1>Category 'one'
+</title></head><body><div><h1>Category 'one'
</h1><ul><li><a href="/bar/baz/">bar-baz english
</a></li><li><a href="/foo/">foo page
-</a></li></ul></body></html>
+</a></li></ul></div><div><dl><dt>Category 'one'
+</dt><dd><a href="/bar/baz/">bar-baz english
+</a>
+ (<a href="/bar/baz/it">it</a> | en)
+ <a href="/foo/">foo page
+</a>
+ (<a href="/foo/it">it</a> | en)
+ </dd><dt>Category 'three/bis'
+</dt><dd><a href="/bar/baz/">bar-baz english
+</a>
+ (<a href="/bar/baz/it">it</a> | en)
+ </dd><dt>Category 'two'
+</dt><dd><a href="/foo/">foo page
+</a>
+ (<a href="/foo/it">it</a> | en)
+ </dd></dl></div></body></html>
diff --git a/t/test-site-output/tags/one/document.it.html b/t/test-site-output/tags/one/document.it.html
index 58c1837..44426d0 100644
--- a/t/test-site-output/tags/one/document.it.html
+++ b/t/test-site-output/tags/one/document.it.html
@@ -1,6 +1,19 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:wc="http://webcoso.thenautilus.net/" xml:lang="it" lang="it"><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Categoria 'uno'
-</title></head><body><h1>Categoria 'uno'
+</title></head><body><div><h1>Categoria 'uno'
</h1><ul><li><a href="/bar/baz/">bar-baz italiano
-</a></li><li><a href="/foo/">Pagina <em>foo</em></a></li></ul></body></html>
+</a></li><li><a href="/foo/">Pagina <em>foo</em></a></li></ul></div><div><dl><dt>Categoria 'uno'
+</dt><dd><a href="/bar/baz/">bar-baz italiano
+</a>
+ (it | <a href="/bar/baz/en">en</a>)
+ <a href="/foo/">Pagina <em>foo</em></a>
+ (it | <a href="/foo/en">en</a>)
+ </dd><dt>Categoria 'three/bis'
+</dt><dd><a href="/bar/baz/">bar-baz italiano
+</a>
+ (it | <a href="/bar/baz/en">en</a>)
+ </dd><dt>Categoria 'two'
+</dt><dd><a href="/foo/">Pagina <em>foo</em></a>
+ (it | <a href="/foo/en">en</a>)
+ </dd></dl></div></body></html>
diff --git a/t/test-site-output/tags/three/bis/document.en.html b/t/test-site-output/tags/three/bis/document.en.html
index 33f714b..d1ef35e 100644
--- a/t/test-site-output/tags/three/bis/document.en.html
+++ b/t/test-site-output/tags/three/bis/document.en.html
@@ -1,6 +1,21 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:wc="http://webcoso.thenautilus.net/" xml:lang="en" lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Category 'three/bis'
-</title></head><body><h1>Category 'three/bis'
+</title></head><body><div><h1>Category 'three/bis'
</h1><ul><li><a href="/bar/baz/">bar-baz english
-</a></li></ul></body></html>
+</a></li></ul></div><div><dl><dt>Category 'one'
+</dt><dd><a href="/bar/baz/">bar-baz english
+</a>
+ (<a href="/bar/baz/it">it</a> | en)
+ <a href="/foo/">foo page
+</a>
+ (<a href="/foo/it">it</a> | en)
+ </dd><dt>Category 'three/bis'
+</dt><dd><a href="/bar/baz/">bar-baz english
+</a>
+ (<a href="/bar/baz/it">it</a> | en)
+ </dd><dt>Category 'two'
+</dt><dd><a href="/foo/">foo page
+</a>
+ (<a href="/foo/it">it</a> | en)
+ </dd></dl></div></body></html>
diff --git a/t/test-site-output/tags/three/bis/document.it.html b/t/test-site-output/tags/three/bis/document.it.html
index 465b27c..82af340 100644
--- a/t/test-site-output/tags/three/bis/document.it.html
+++ b/t/test-site-output/tags/three/bis/document.it.html
@@ -1,6 +1,19 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:wc="http://webcoso.thenautilus.net/" xml:lang="it" lang="it"><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Categoria 'three/bis'
-</title></head><body><h1>Categoria 'three/bis'
+</title></head><body><div><h1>Categoria 'three/bis'
</h1><ul><li><a href="/bar/baz/">bar-baz italiano
-</a></li></ul></body></html>
+</a></li></ul></div><div><dl><dt>Categoria 'uno'
+</dt><dd><a href="/bar/baz/">bar-baz italiano
+</a>
+ (it | <a href="/bar/baz/en">en</a>)
+ <a href="/foo/">Pagina <em>foo</em></a>
+ (it | <a href="/foo/en">en</a>)
+ </dd><dt>Categoria 'three/bis'
+</dt><dd><a href="/bar/baz/">bar-baz italiano
+</a>
+ (it | <a href="/bar/baz/en">en</a>)
+ </dd><dt>Categoria 'two'
+</dt><dd><a href="/foo/">Pagina <em>foo</em></a>
+ (it | <a href="/foo/en">en</a>)
+ </dd></dl></div></body></html>
diff --git a/t/test-site-output/tags/three/document.en.html b/t/test-site-output/tags/three/document.en.html
index e382539..c0e45f0 100644
--- a/t/test-site-output/tags/three/document.en.html
+++ b/t/test-site-output/tags/three/document.en.html
@@ -1,5 +1,20 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:wc="http://webcoso.thenautilus.net/" xml:lang="en" lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Category 'three'
-</title></head><body><h1>Category 'three'
-</h1></body></html>
+</title></head><body><div><h1>Category 'three'
+</h1></div><div><dl><dt>Category 'one'
+</dt><dd><a href="/bar/baz/">bar-baz english
+</a>
+ (<a href="/bar/baz/it">it</a> | en)
+ <a href="/foo/">foo page
+</a>
+ (<a href="/foo/it">it</a> | en)
+ </dd><dt>Category 'three/bis'
+</dt><dd><a href="/bar/baz/">bar-baz english
+</a>
+ (<a href="/bar/baz/it">it</a> | en)
+ </dd><dt>Category 'two'
+</dt><dd><a href="/foo/">foo page
+</a>
+ (<a href="/foo/it">it</a> | en)
+ </dd></dl></div></body></html>
diff --git a/t/test-site-output/tags/three/document.it.html b/t/test-site-output/tags/three/document.it.html
index 59ff8dc..b03cf4b 100644
--- a/t/test-site-output/tags/three/document.it.html
+++ b/t/test-site-output/tags/three/document.it.html
@@ -1,5 +1,18 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:wc="http://webcoso.thenautilus.net/" xml:lang="it" lang="it"><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Categoria 'three'
-</title></head><body><h1>Categoria 'three'
-</h1></body></html>
+</title></head><body><div><h1>Categoria 'three'
+</h1></div><div><dl><dt>Categoria 'uno'
+</dt><dd><a href="/bar/baz/">bar-baz italiano
+</a>
+ (it | <a href="/bar/baz/en">en</a>)
+ <a href="/foo/">Pagina <em>foo</em></a>
+ (it | <a href="/foo/en">en</a>)
+ </dd><dt>Categoria 'three/bis'
+</dt><dd><a href="/bar/baz/">bar-baz italiano
+</a>
+ (it | <a href="/bar/baz/en">en</a>)
+ </dd><dt>Categoria 'two'
+</dt><dd><a href="/foo/">Pagina <em>foo</em></a>
+ (it | <a href="/foo/en">en</a>)
+ </dd></dl></div></body></html>
diff --git a/t/test-site-output/tags/two/document.en.html b/t/test-site-output/tags/two/document.en.html
index 40c151d..ada8386 100644
--- a/t/test-site-output/tags/two/document.en.html
+++ b/t/test-site-output/tags/two/document.en.html
@@ -1,6 +1,21 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:wc="http://webcoso.thenautilus.net/" xml:lang="en" lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Category 'two'
-</title></head><body><h1>Category 'two'
+</title></head><body><div><h1>Category 'two'
</h1><ul><li><a href="/foo/">foo page
-</a></li></ul></body></html>
+</a></li></ul></div><div><dl><dt>Category 'one'
+</dt><dd><a href="/bar/baz/">bar-baz english
+</a>
+ (<a href="/bar/baz/it">it</a> | en)
+ <a href="/foo/">foo page
+</a>
+ (<a href="/foo/it">it</a> | en)
+ </dd><dt>Category 'three/bis'
+</dt><dd><a href="/bar/baz/">bar-baz english
+</a>
+ (<a href="/bar/baz/it">it</a> | en)
+ </dd><dt>Category 'two'
+</dt><dd><a href="/foo/">foo page
+</a>
+ (<a href="/foo/it">it</a> | en)
+ </dd></dl></div></body></html>
diff --git a/t/test-site-output/tags/two/document.it.html b/t/test-site-output/tags/two/document.it.html
index 1fa942a..fdf2eaa 100644
--- a/t/test-site-output/tags/two/document.it.html
+++ b/t/test-site-output/tags/two/document.it.html
@@ -1,5 +1,18 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:wc="http://webcoso.thenautilus.net/" xml:lang="it" lang="it"><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Categoria 'two'
-</title></head><body><h1>Categoria 'two'
-</h1><ul><li><a href="/foo/">Pagina <em>foo</em></a></li></ul></body></html>
+</title></head><body><div><h1>Categoria 'two'
+</h1><ul><li><a href="/foo/">Pagina <em>foo</em></a></li></ul></div><div><dl><dt>Categoria 'uno'
+</dt><dd><a href="/bar/baz/">bar-baz italiano
+</a>
+ (it | <a href="/bar/baz/en">en</a>)
+ <a href="/foo/">Pagina <em>foo</em></a>
+ (it | <a href="/foo/en">en</a>)
+ </dd><dt>Categoria 'three/bis'
+</dt><dd><a href="/bar/baz/">bar-baz italiano
+</a>
+ (it | <a href="/bar/baz/en">en</a>)
+ </dd><dt>Categoria 'two'
+</dt><dd><a href="/foo/">Pagina <em>foo</em></a>
+ (it | <a href="/foo/en">en</a>)
+ </dd></dl></div></body></html>
diff --git a/t/test-site/src/common/du2html.xsl b/t/test-site/src/common/du2html.xsl
index b67dbe6..569349e 100644
--- a/t/test-site/src/common/du2html.xsl
+++ b/t/test-site/src/common/du2html.xsl
@@ -45,10 +45,45 @@
<title><x:value-of select="title"/></title>
</head>
<body>
- <h1><x:apply-templates select="title/node()"/></h1>
- <x:apply-templates/>
+ <div>
+ <h1><x:apply-templates select="title/node()"/></h1>
+ <x:apply-templates/>
+ </div>
+ <div>
+ <x:apply-templates select="wc:tagged()"/>
+ </div>
</body>
</html>
</x:template>
+ <x:template match="/wc:tags">
+ <dl>
+ <x:apply-templates/>
+ </dl>
+ </x:template>
+
+ <x:template match="wc:tag">
+ <dt><x:apply-templates select="wc:title-for($language,$filename,concat('/tags/',@name,'/'))"/></dt>
+ <dd>
+ <x:apply-templates/>
+ </dd>
+ </x:template>
+
+ <x:template match="wc:doc">
+ <a href="{@uri}"><x:apply-templates select="wc:title-for($language,$filename,@uri)"/></a>
+ (<x:apply-templates/>)
+ </x:template>
+
+ <x:template match="wc:lang">
+ <x:choose>
+ <x:when test=".!=$language">
+ <a href="{../@uri}{.}"><x:value-of select="."/></a>
+ </x:when>
+ <x:otherwise>
+ <x:value-of select="."/>
+ </x:otherwise>
+ </x:choose>
+ <x:if test="following-sibling::wc:lang"> | </x:if>
+ </x:template>
+
</x:stylesheet> \ No newline at end of file