-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcurrentNotes.xsl
More file actions
35 lines (34 loc) · 1.18 KB
/
Copy pathcurrentNotes.xsl
File metadata and controls
35 lines (34 loc) · 1.18 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
<?xml version="1.0" ?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="/">
<html>
<body>
<h2 id='allNoteDisplay'>Current Notes</h2>
<table id="allNoteDisplay">
<tr class="heading">
<th>Title</th>
<th>Sender</th>
<th>Recipient</th>
<th>Date</th>
<th>Message</th>
<th>Url</th>
<th>Status</th>
</tr>
<xsl:for-each select="postItNotes/notes/note">
<xsl:if test="messageStatus[text()='current']">
<tr>
<td class="center"><xsl:value-of select="title"/></td>
<td class="center"><xsl:value-of select="sender"/></td>
<td class="center"><xsl:value-of select="recipients"/></td>
<td class="center"><xsl:value-of select="date"/></td>
<td class="center"><xsl:value-of select="message"/></td>
<td class="center"><a href="{url}"><xsl:value-of select="url"/></a> </td>
<td class="center"><xsl:value-of select="messageStatus"/></td>
</tr>
</xsl:if>
</xsl:for-each>
</table>
</body>
</html>
</xsl:template>
</xsl:stylesheet>