aboutsummaryrefslogtreecommitdiff
path: root/t/test-site/src/common/du2html.xsl
blob: d7a9b6243a68eb6ebd3a485ccf38b456b7d4bf67 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<?xml version="1.0" encoding="utf-8"?>
<x:stylesheet xmlns:x="http://www.w3.org/1999/XSL/Transform"
              xmlns="http://www.w3.org/1999/xhtml"
              version="1.0"
              >
 
 <x:import href="reST.xsl"/>
 
 <x:param name="language" select="'en'"/>
 
 <x:output method="html" encoding="utf-8"
           doctype-public="-//W3C//DTD HTML 4.01 Transitional//EN"
           indent="yes"/>
 
 <x:template match="/document">
  <html xml:lang="{$language}" lang="{$language}">
   <head>
    <title><x:apply-templates select="title/node()"/></title>
   </head>
   <body>
    <h1><x:apply-templates select="title/node()"/></h1>
    <x:apply-templates/>
   </body>
  </html>
 </x:template>
 
</x:stylesheet>