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