forked from TEIC/Stylesheets
-
Notifications
You must be signed in to change notification settings - Fork 0
/
html5.xsl
35 lines (31 loc) · 1.21 KB
/
html5.xsl
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
28
29
30
31
32
33
34
35
<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet
xmlns:tei="http://www.tei-c.org/ns/1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
exclude-result-prefixes="tei"
version="2.0">
<!-- import base conversion style -->
<xsl:import href="../html/html.xsl"/>
<xsl:import href="textstructure.xsl"/>
<xsl:output method="xml" encoding="utf-8" omit-xml-declaration="yes" doctype-system="about:legacy-compat" />
<xsl:param name="outputTarget">html5</xsl:param>
<xsl:param name="doctypeSystem">about:legacy-compat</xsl:param>
<xsl:param name="doctypePublic"/>
<xsl:param name="divOffset">1</xsl:param>
<xsl:param name="langAttributeName">lang</xsl:param>
<xsl:param name="doclang"/>
<xsl:template match="/">
<xsl:call-template name="processTEI"/>
</xsl:template>
<!--
<xsl:template match="@*|text()|comment()|processing-instruction()" mode="html5">
<xsl:copy-of select="."/>
</xsl:template>
<xsl:template match="*" mode="html5">
<xsl:element name="{local-name()}">
<xsl:apply-templates
select="*|@*|processing-instruction()|comment()|text()" mode="html5"/>
</xsl:element>
</xsl:template>
-->
</xsl:stylesheet>