File tree 5 files changed +15
-20
lines changed
5 files changed +15
-20
lines changed Original file line number Diff line number Diff line change 1
- <?xml version =" 1.0" encoding =" UTF-8" ?>
2
1
<xsl : stylesheet xmlns =" http://www.w3.org/1999/xhtml" xmlns : xsl =" http://www.w3.org/1999/XSL/Transform" version =" 2.0" xpath-default-namespace =" http://www.tei-c.org/ns/1.0" >
3
2
<xsl : output method =" xhtml" indent =" yes" encoding =" utf-8" />
4
3
5
4
<xsl : template match =" /" >
6
5
<xsl : choose >
7
6
<xsl : when test =" starts-with(//biblStruct//idno[1], 'https://books.google.se/books?id=')" >
8
- <h2 id =" {data(//biblStruct//idno[1])}" class =" page-header" >
7
+ <h1 id =" {data(//biblStruct//idno[1])}" class =" page-header" >
9
8
<xsl : value-of select =" //titleStmt/title" />
10
- </h2 >
9
+ </h1 >
11
10
</xsl : when >
12
11
<xsl : when test =" starts-with(//biblStruct//idno[1], 'https://archive.org/details/')" >
13
- <h2 id =" {data(//biblStruct//idno[1])}" class =" page-header" >
12
+ <h1 id =" {data(//biblStruct//idno[1])}" class =" page-header" >
14
13
<xsl : value-of select =" //titleStmt/title" />
15
- </h2 >
14
+ </h1 >
16
15
</xsl : when >
17
16
<xsl : otherwise >
18
- <h2 class =" page-header" >
17
+ <h1 class =" page-header" >
19
18
<xsl : value-of select =" //titleStmt/title" />
20
- </h2 >
19
+ </h1 >
21
20
</xsl : otherwise >
22
21
</xsl : choose >
23
22
<xsl : apply-templates select =" //author" />
Original file line number Diff line number Diff line change 1
- <?xml version =" 1.0" encoding =" UTF-8" ?>
2
1
<xsl : stylesheet xmlns =" http://www.w3.org/1999/xhtml" xmlns : xsl =" http://www.w3.org/1999/XSL/Transform" version =" 2.0" xpath-default-namespace =" http://www.tei-c.org/ns/1.0" >
3
2
<xsl : output method =" xhtml" indent =" yes" encoding =" utf-8" />
4
3
59
58
</xsl : choose >
60
59
</xsl : template >
61
60
<xsl : template match =" title" >
62
- <h2 class =" page-header" >
61
+ <h1 class =" page-header" >
63
62
<xsl : value-of select =" //titleStmt/title" />
64
- </h2 >
63
+ </h1 >
65
64
</xsl : template >
66
65
67
66
<xsl : template name =" footer" >
Original file line number Diff line number Diff line change 1
- <?xml version =" 1.0" encoding =" UTF-8" ?>
2
1
<xsl : stylesheet xmlns =" http://www.w3.org/1999/xhtml" xmlns : xsl =" http://www.w3.org/1999/XSL/Transform" version =" 2.0" xpath-default-namespace =" http://www.tei-c.org/ns/1.0" >
3
2
<xsl : output method =" xhtml" indent =" yes" encoding =" utf-8" />
4
3
<xsl : template match =" /" >
111
110
</xsl : template >
112
111
113
112
<xsl : template match =" title" >
114
- <h2 class =" page-header" >
113
+ <h1 class =" page-header" >
115
114
<xsl : value-of select =" //titleStmt/title" />
116
- </h2 >
115
+ </h1 >
117
116
</xsl : template >
118
117
119
118
<xsl : template name =" footer" >
161
160
162
161
<xsl : template match =" sponsor" />
163
162
164
- </xsl : stylesheet >
163
+ </xsl : stylesheet >
Original file line number Diff line number Diff line change 1
- <?xml version =" 1.0" encoding =" UTF-8" ?>
2
1
<xsl : stylesheet xmlns =" http://www.w3.org/1999/xhtml" xmlns : xsl =" http://www.w3.org/1999/XSL/Transform" version =" 2.0" xpath-default-namespace =" http://www.tei-c.org/ns/1.0" >
3
2
<xsl : output method =" xhtml" indent =" yes" encoding =" utf-8" />
4
3
<xsl : template match =" /" >
51
50
</xsl : template >
52
51
53
52
<xsl : template match =" title" >
54
- <h2 class =" page-header" >
53
+ <h1 class =" page-header" >
55
54
<xsl : value-of select =" //titleStmt/title" />
56
- </h2 >
55
+ </h1 >
57
56
</xsl : template >
58
57
59
58
<xsl : template name =" footer" >
Original file line number Diff line number Diff line change 1
- <?xml version =" 1.0" encoding =" UTF-8" ?>
2
1
<xsl : stylesheet xmlns =" http://www.w3.org/1999/xhtml" xmlns : xsl =" http://www.w3.org/1999/XSL/Transform" version =" 2.0" xpath-default-namespace =" http://www.tei-c.org/ns/1.0" >
3
2
<xsl : output method =" xhtml" indent =" yes" encoding =" utf-8" />
4
3
8
7
</xsl : template >
9
8
10
9
<xsl : template match =" //titleStmt/title" >
11
- <h2 class =" page-header" >
10
+ <h1 class =" page-header" >
12
11
<xsl : value-of select =" ." />
13
- </h2 >
12
+ </h1 >
14
13
</xsl : template >
15
14
16
15
<xsl : template match =" //bibl/title" >
You can’t perform that action at this time.
0 commit comments