Revision 437,
1.4 KB
checked in by niltonneto, 16 years ago
(diff) |
Alterações feitas por Alexandre Muller.
Email: amuller@…
|
-
Property svn:executable set to
*
|
Rev | Line | |
---|
[420] | 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"> |
---|
[429] | 6 | <div id="{$today}"></div> |
---|
[420] | 7 | </div> |
---|
| 8 | <div width="100%" class="title" align="left" ><label id="l_date"></label><br/><br/> |
---|
[437] | 9 | <table class="table_common" height="auto" width="100%" cellpadding="0" cellspacing="0"> |
---|
[429] | 10 | <tbody> |
---|
[437] | 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> |
---|
[429] | 18 | </tr> |
---|
[437] | 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> |
---|
[429] | 29 | </tbody> |
---|
[437] | 30 | </table> |
---|
[420] | 31 | </div> |
---|
| 32 | <div id="returnEvents"> |
---|
| 33 | <xsl:for-each select="calEvent"> |
---|
| 34 | <xsl:variable name="event_id" select="id" /> |
---|
| 35 | <xsl:variable name="datetime" select="datetime" /> |
---|
| 36 | <xsl:variable name="edatetime" select="edatetime" /> |
---|
| 37 | <xsl:if test="id > 0"> |
---|
| 38 | <div id="event_{$event_id}"> |
---|
| 39 | <xsl:value-of select='title' /> |
---|
| 40 | <div id="{$datetime}"></div> |
---|
| 41 | <div id="{$edatetime}"></div> |
---|
| 42 | </div> |
---|
| 43 | </xsl:if> |
---|
| 44 | </xsl:for-each> |
---|
| 45 | </div> |
---|
| 46 | </xsl:template> |
---|
| 47 | </xsl:stylesheet> |
---|
Note: See
TracBrowser
for help on using the repository browser.