Revision 696,
1014 bytes
checked in by niltonneto, 16 years ago
(diff) |
Implementação do desenvolvedor (amuller).
|
-
Property svn:executable set to
*
|
Line | |
---|
1 | <?xml version="1.0" encoding="ISO-8859-1"?> |
---|
2 | <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> |
---|
3 | <xsl:template match="/retorno"> |
---|
4 | <xsl:variable name="today" select="today" /> |
---|
5 | <div id="day"> |
---|
6 | <div id="{$today}"></div> |
---|
7 | </div> |
---|
8 | <div width="100%" class="title" align="left" ><br/> |
---|
9 | <table class="table_common" height="auto" width="100%" cellpadding="0" cellspacing="0"> |
---|
10 | <tbody> |
---|
11 | <tr id="tr_week"> |
---|
12 | <xsl:for-each select="dayofweek"> |
---|
13 | <xsl:variable name="dayName" select="dayname" /> |
---|
14 | <td id="weekHeader_{$dayName}" class="td_header" height="1%"> |
---|
15 | <xsl:value-of select='$dayName' /> |
---|
16 | </td> |
---|
17 | </xsl:for-each> |
---|
18 | </tr> |
---|
19 | <xsl:for-each select="/retorno/workWeek"> |
---|
20 | <tr> |
---|
21 | <xsl:for-each select="workday"> |
---|
22 | <xsl:variable name="day" select="id" /> |
---|
23 | <td class="td_day" id="{$day}"> |
---|
24 | <xsl:value-of select='substring($day,5,2)' /> |
---|
25 | </td> |
---|
26 | </xsl:for-each> |
---|
27 | </tr> |
---|
28 | </xsl:for-each> |
---|
29 | </tbody> |
---|
30 | </table> |
---|
31 | </div> |
---|
32 | </xsl:template> |
---|
33 | </xsl:stylesheet> |
---|
Note: See
TracBrowser
for help on using the repository browser.