1<?xml version="1.0"?>
2
3<!--
4   Copyright (c) 2009, 2018 Mountainminds GmbH & Co. KG and Contributors
5   All rights reserved. This program and the accompanying materials
6   are made available under the terms of the Eclipse Public License v1.0
7   which accompanies this distribution, and is available at
8   http://www.eclipse.org/legal/epl-v10.html
9
10   Contributors:
11      Marc R. Hoffmann - initial API and implementation
12      Kyle Lieber - implementation of CheckMojo
13-->
14
15<xsl:stylesheet version="1.0"
16	xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xdoc="http://maven.apache.org/XDOC/2.0"
17	xmlns="http://www.w3.org/1999/xhtml" exclude-result-prefixes="xdoc">
18
19	<xsl:output method="xml" indent="yes" encoding="UTF-8"
20		doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN" doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd" />
21
22	<xsl:param name="qualified.bundle.version" />
23	<xsl:param name="jacoco.home.url" />
24	<xsl:param name="copyright.years" />
25
26	<xsl:template match="/">
27		<html>
28			<head>
29				<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
30				<link rel="stylesheet" href="resources/doc.css" charset="UTF-8"
31					type="text/css" />
32				<link rel="shortcut icon" href="resources/report.gif" type="image/gif" />
33				<title>
34					JaCoCo -
35					<xsl:value-of select="xdoc:document/xdoc:properties/xdoc:title" />
36				</title>
37			</head>
38			<body>
39				<div class="breadcrumb">
40					<a href="../index.html" class="el_report">JaCoCo</a>
41					&gt;
42					<a href="index.html" class="el_group">Documentation</a>
43					&gt;
44					<a href="maven.html" class="el_group">Maven</a>
45					&gt;
46					<span class="el_source">
47						<xsl:value-of select="xdoc:document/xdoc:properties/xdoc:title" />
48					</span>
49				</div>
50				<div id="content">
51					<xsl:apply-templates select="xdoc:document/xdoc:body" />
52				</div>
53				<div class="footer">
54					<span class="right">
55						<a href="{$jacoco.home.url}">JaCoCo</a>
56						&#160;
57						<xsl:value-of select="$qualified.bundle.version" />
58					</span>
59					<a href="../doc/license.html">Copyright</a>
60					&#169;
61					<xsl:value-of select="$copyright.years" />
62					Mountainminds GmbH &amp; Co. KG and Contributors
63				</div>
64			</body>
65		</html>
66	</xsl:template>
67
68	<xsl:template match="xdoc:section">
69		<h1>
70			<xsl:value-of select="@name" />
71		</h1>
72		<xsl:apply-templates />
73	</xsl:template>
74
75	<xsl:template match="xdoc:subsection">
76		<h2>
77			<xsl:value-of select="@name" />
78		</h2>
79		<xsl:apply-templates />
80	</xsl:template>
81
82	<xsl:template match="xdoc:p">
83		<p>
84			<xsl:apply-templates />
85		</p>
86	</xsl:template>
87
88	<xsl:template match="xdoc:div">
89		<div>
90			<xsl:apply-templates />
91		</div>
92	</xsl:template>
93
94	<xsl:template match="xdoc:a[@href]">
95		<a>
96			<xsl:attribute name="href">
97				<xsl:value-of select="@href" />
98  			</xsl:attribute>
99			<xsl:apply-templates />
100		</a>
101	</xsl:template>
102
103	<xsl:template match="xdoc:a[@name]">
104		<a>
105			<xsl:attribute name="name">
106				<xsl:value-of select="@name" />
107  			</xsl:attribute>
108			<xsl:apply-templates />
109		</a>
110	</xsl:template>
111
112	<xsl:template match="xdoc:strong">
113		<b>
114			<xsl:apply-templates />
115		</b>
116	</xsl:template>
117
118	<xsl:template match="xdoc:code">
119		<code>
120			<xsl:apply-templates />
121		</code>
122	</xsl:template>
123
124	<xsl:template match="xdoc:pre">
125		<pre>
126			<xsl:apply-templates />
127		</pre>
128	</xsl:template>
129
130	<xsl:template match="xdoc:br">
131		<br />
132	</xsl:template>
133
134	<xsl:template match="xdoc:ul">
135		<ul>
136			<xsl:apply-templates />
137		</ul>
138	</xsl:template>
139
140	<xsl:template match="xdoc:li">
141		<li>
142			<xsl:apply-templates />
143		</li>
144	</xsl:template>
145
146	<xsl:template match="xdoc:table">
147		<table class="coverage">
148			<thead>
149				<tr>
150					<xsl:for-each select="xdoc:tr/xdoc:th">
151						<td>
152							<xsl:apply-templates />
153						</td>
154					</xsl:for-each>
155				</tr>
156			</thead>
157			<tbody>
158				<xsl:for-each select="xdoc:tr[xdoc:td]">
159					<tr>
160						<xsl:for-each select="xdoc:td">
161							<td>
162								<xsl:apply-templates />
163							</td>
164						</xsl:for-each>
165					</tr>
166				</xsl:for-each>
167			</tbody>
168		</table>
169	</xsl:template>
170
171</xsl:stylesheet>
172
173