-
Notifications
You must be signed in to change notification settings - Fork 92
Expand file tree
/
Copy pathgroups.xsl
More file actions
37 lines (35 loc) · 1.28 KB
/
groups.xsl
File metadata and controls
37 lines (35 loc) · 1.28 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:p="http://javaops.ru">
<xsl:output method="html" omit-xml-declaration="yes" indent="yes"/>
<xsl:param name="projectName"/>
<xsl:template match="/">
<html>
<head>
<title>
<xsl:value-of select="$projectName"/> groups
</title>
</head>
<body>
<h1>
<xsl:value-of select="$projectName"/> groups
</h1>
<table border="1" cellpadding="8" cellspacing="0">
<tr>
<th>Group</th>
<th>Type</th>
</tr>
<xsl:for-each select="/p:Payload/p:Projects/p:Project[@name=$projectName]/p:Group">
<tr>
<td>
<xsl:value-of select="@name"/>
</td>
<td>
<xsl:value-of select="@type"/>
</td>
</tr>
</xsl:for-each>
</table>
</body>
</html>
</xsl:template>
</xsl:stylesheet>