Ammend merge: Misc stuff
[shapes.git] / doc / parts / guides / formats / html.xsl
blobf842f1c8d809ed38a76fe82be7892ecc99cd0f49
1 <?xml version="1.0" encoding="UTF-8"?>
3 <!-- This file is part of Shapes. -->
4 <!-- -->
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. -->
9 <!-- -->
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. -->
14 <!-- -->
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/>. -->
17 <!-- -->
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">
31 <ul>
32 <xsl:apply-templates select="/book/external/book" />
33 </ul>
34 </xsl:template>
36 <xsl:template match="external/book">
37 <li>
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>
41 </xsl:element>
42 <xsl:apply-templates select="description" />
43 </li>
44 </xsl:template>
46 </xsl:stylesheet>