1 <?xml version=
"1.0" encoding=
"UTF-8"?>
3 <!-- This file is part of Shapes. -->
5 <!-- Shapes is free software: you can redistribute it and/or modify -->
6 <!-- it under the terms of the GNU General Public License as published by -->
7 <!-- the Free Software Foundation, either version 3 of the License, or -->
8 <!-- any later version. -->
10 <!-- Shapes is distributed in the hope that it will be useful, -->
11 <!-- but WITHOUT ANY WARRANTY; without even the implied warranty of -->
12 <!-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -->
13 <!-- GNU General Public License for more details. -->
15 <!-- You should have received a copy of the GNU General Public License -->
16 <!-- along with Shapes. If not, see <http://www.gnu.org/licenses/>. -->
18 <!-- Copyright 2014 Henrik Tidefelt -->
20 <xsl:stylesheet version=
"2.0"
21 xmlns:
xsl=
"http://www.w3.org/1999/XSL/Transform">
22 <xsl:output method=
"xml" indent=
"no" />
24 <xsl:include href=
"../../formats/html.xsl" />
25 <xsl:include href=
"../../formats/bindings-html.xsl" />
26 <xsl:include href=
"../../formats/examplecode-html.xsl" />
27 <xsl:include href=
"../../formats/plain-book-html.xsl" />
28 <xsl:include href=
"../../formats/language-elements-html.xsl" />
30 <xsl:template match=
"index-of-books">
32 <xsl:apply-templates select=
"/book/external/book" />
36 <xsl:template match=
"external/book">
38 <xsl:element name=
"a">
39 <xsl:attribute name=
"href"><xsl:apply-templates select=
"meta-selflink" /></xsl:attribute>
40 <b><xsl:apply-templates select=
"title" /></b>
42 <xsl:apply-templates select=
"description" />