10.0
10.0-rc1
10.1
10.1-rc1
11.0
11.0-rc1
11.0-rc2
11.0-rc3
11.1
11.1-rc1
11.2
11.2-rc1
11.3
11.3-rc1
12.0
12.0-rc1
12.1
12.1-rc1
12.2-rc1
7.6
7.7
7.8
7.9
8.0
8.1
8.2
8.3
8.4
9.0
9.1
arm
bdubbs/gcc13
ml-11.0
multilib
renodr/libudev-from-systemd
s6-init
trunk
xry111/arm64
xry111/arm64-12.0
xry111/clfs-ng
xry111/lfs-next
xry111/loongarch
xry111/loongarch-12.0
xry111/loongarch-12.1
xry111/mips64el
xry111/pip3
xry111/rust-wip-20221008
xry111/update-glibc
Line | |
---|
1 | <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
---|
2 | xmlns:xslo="http://www.w3.org/1999/XSL/TransformAlias"
|
---|
3 | version="1.0">
|
---|
4 |
|
---|
5 | <xsl:output indent="no" method="xml"/>
|
---|
6 |
|
---|
7 | <xsl:namespace-alias stylesheet-prefix="xslo" result-prefix="xsl"/>
|
---|
8 |
|
---|
9 | <xsl:template match="node()|@*">
|
---|
10 | <xsl:copy>
|
---|
11 | <xsl:apply-templates select="@*"/>
|
---|
12 | <xsl:apply-templates/>
|
---|
13 | </xsl:copy>
|
---|
14 | </xsl:template>
|
---|
15 |
|
---|
16 | <xsl:template match="xsl:output">
|
---|
17 | <xsl:comment>Same as xhtml but with doctypes removed from xsl:output </xsl:comment>
|
---|
18 | <xsl:text> </xsl:text>
|
---|
19 | <xsl:comment>and including from ../xhtml directory </xsl:comment>
|
---|
20 | <xsl:text> </xsl:text>
|
---|
21 | <xslo:output method="xml" encoding="UTF-8" indent="no"/>
|
---|
22 | </xsl:template>
|
---|
23 |
|
---|
24 | <xsl:template match="xsl:include/@href">
|
---|
25 | <xsl:choose>
|
---|
26 | <xsl:when test="starts-with(., '../')">
|
---|
27 | <xsl:copy-of select="."/>
|
---|
28 | </xsl:when>
|
---|
29 | <xsl:otherwise>
|
---|
30 | <xsl:attribute name="href">
|
---|
31 | <xsl:value-of select="concat('../xhtml/', .)"/>
|
---|
32 | </xsl:attribute>
|
---|
33 | </xsl:otherwise>
|
---|
34 | </xsl:choose>
|
---|
35 | </xsl:template>
|
---|
36 |
|
---|
37 | <xsl:template match="comment()
|
---|
38 | [starts-with(string(.), 'This file was created automatically')]">
|
---|
39 | <xsl:text> </xsl:text>
|
---|
40 | <xsl:comment>This file was created automatically by xhtml2xhtml5.xsl from the xhtml stylesheet.</xsl:comment>
|
---|
41 | <xsl:text> </xsl:text>
|
---|
42 | </xsl:template>
|
---|
43 |
|
---|
44 | <xsl:template match="comment()
|
---|
45 | [starts-with(string(.), 'from the HTML stylesheets')]"/>
|
---|
46 |
|
---|
47 | <xsl:include href="../common/subtitles.xsl"/>
|
---|
48 | </xsl:stylesheet>
|
---|
49 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.