XSL - esto estaba en mi pc compartida quiero saber q es

 
Vista:

esto estaba en mi pc compartida quiero saber q es

Publicado por monica (1 intervención) el 07/10/2012 16:07:26
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
<?xml version="1.0" ?>
- <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
- <!--  localized strings 
  -->
  <xsl:variable name="ColumnHeader_Date">Fecha</xsl:variable>
  <xsl:variable name="ColumnHeader_Time">Hora</xsl:variable>
  <xsl:variable name="ColumnHeader_From">De</xsl:variable>
  <xsl:variable name="ColumnHeader_To">Para</xsl:variable>
  <xsl:variable name="ColumnHeader_Message">Mensaje</xsl:variable>
- <!--  variables 
  -->
  <xsl:variable name="Debug">0</xsl:variable>
  <xsl:variable name="TableStyle">font-family:Segoe UI; font-size:75%; text-align:left; vertical-align:top; table-layout:fixed</xsl:variable>
  <xsl:variable name="GutterStyle">width:2ex</xsl:variable>
  <xsl:variable name="HeaderStyle">border-bottom:1 solid black</xsl:variable>
  <xsl:variable name="UseZebraStripe">1</xsl:variable>
  <xsl:variable name="ZebraStripeStyle">background-color:#e0edff</xsl:variable> 
  <xsl:variable name="MostRecentSessionFirst">0</xsl:variable>
- <xsl:template match="Log">
- <html dir="ltr">
- <head>
- <title>
  Message Log for
  <xsl:value-of select="@LogonName" />
  <xsl:if test="$Debug = 1">(Debug)</xsl:if>
  </title>
- <xsl:if test="$Debug = 1">
  <span style="font-family:trebuchet ms; font-size:120%">Debug Version</span>
  <hr />
  </xsl:if>
  </head>
- <body style="margin:0">
- <table id="BodyTable" style="{$TableStyle}" cellspacing="0">
- <xsl:if test="$Debug = 1">
  <col style="vertical-align:top; width:5ex;" />
  <col style="{$GutterStyle}" />
  </xsl:if>
  <col style="width:16ex;" />
  <col style="{$GutterStyle}" />
  <col style="width:16ex;" />
  <col style="{$GutterStyle}" />
  <col style="width:21ex;" />
  <col style="{$GutterStyle}" />
  <col style="width:21ex;" />
  <col style="{$GutterStyle}" />
  <col style="width:70ex;" />
- <thead>
- <tr>
- <xsl:if test="$Debug = 1">
  <th style="{$HeaderStyle}">SID</th>
  <th />
  </xsl:if>
- <th style="{$HeaderStyle}">
  <xsl:value-of select="$ColumnHeader_Date" />
  </th>
  <th />
- <th style="{$HeaderStyle}">
  <xsl:value-of select="$ColumnHeader_Time" />
  </th>
  <th />
- <th style="{$HeaderStyle}">
  <xsl:value-of select="$ColumnHeader_From" />
  </th>
  <th />
- <th style="{$HeaderStyle}">
  <xsl:value-of select="$ColumnHeader_To" />
  </th>
  <th />
- <th style="{$HeaderStyle}">
  <xsl:value-of select="$ColumnHeader_Message" />
  </th>
  </tr>
  </thead>
- <tbody style="vertical-align:top">
- <xsl:choose>
- <!--  newest session first 
  -->
- <xsl:when test="$MostRecentSessionFirst = 1">
- <xsl:apply-templates>
  <xsl:sort select="@SessionID" order="descending" data-type="number" />
  <xsl:sort select="@DateTime" order="ascending" />
  </xsl:apply-templates>
  </xsl:when>
- <!--  oldest session first 
  -->
- <xsl:otherwise>
- <xsl:apply-templates>
  <xsl:sort select="@SessionID" order="ascending" data-type="number" />
  <xsl:sort select="@DateTime" order="ascending" />
  </xsl:apply-templates>
  </xsl:otherwise>
  </xsl:choose>
  </tbody>
  </table>
  </body>
  </html>
  </xsl:template>
- <xsl:template match="Message">
- <tr>
  <xsl:call-template name="CommonMessageProcessing" />
- <td>
  <xsl:apply-templates select="From/User" />
  </td>
  <td />
- <td>
  <xsl:apply-templates select="To/User" />
  </td>
  <td />
- <td>
- <span>
  <xsl:value-of select="Text" />
  </span>
  </td>
  </tr>
  </xsl:template>
- <xsl:template match="Invitation|InvitationResponse|Join|Leave">
- <tr>
  <xsl:call-template name="CommonMessageProcessing" />
  <td />
- <!--  From 
  -->
  <td />
  <td />
- <!--  To 
  -->
  <td />
- <td>
- <span>
  <xsl:value-of select="Text" />
  </span>
  </td>
  </tr>
  </xsl:template>
- <xsl:template match="User">
- <!--  add a comma before all but the first user 
  -->
  <xsl:if test="position() != 1">,</xsl:if>
  <xsl:value-of select="@FriendlyName" />
  </xsl:template>
- <xsl:template name="CommonMessageProcessing">
- <!--  zebra-stripe the sessions 
  -->
- <xsl:if test="$UseZebraStripe = 1">
- <xsl:if test="(@SessionID mod 2) = 1">
- <xsl:attribute name="style">
  <xsl:value-of select="$ZebraStripeStyle" />
  </xsl:attribute>
  </xsl:if>
  </xsl:if>
- <xsl:if test="$Debug = 1">
- <td>
  <xsl:value-of select="@SessionID" />
  </td>
  <td />
  </xsl:if>
- <td>
  <xsl:value-of select="@Date" />
  </td>
  <td />
- <td>
  <xsl:value-of select="@Time" />
  </td>
  <td />
Valora esta pregunta
Me gusta: Está pregunta es útil y esta claraNo me gusta: Está pregunta no esta clara o no es útil
0
Responder
sin imagen de perfil

esto estaba en mi pc compartida quiero saber q es

Publicado por Ignacio Esviza (1 intervención) el 07/10/2012 16:57:57
Hola.

Parece una plantilla (molde) para dar formato a una lista de mensajes.

Así a priori, no implica nada malo, no es un programa que pueda ejecutarse. Es sólo un "formato" que seguramente algún programa que esté en tu máquina utilice.

saludos
Valora esta respuesta
Me gusta: Está respuesta es útil y esta claraNo me gusta: Está respuesta no esta clara o no es útil
0
Comentar