Revision 55,
932 bytes
checked in by niltonneto, 17 years ago
(diff) |
Nova versão do Instant Messenger.
|
-
Property svn:eol-style set to
native
-
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:output method="html" omit-xml-declaration="yes"/> |
---|
4 | |
---|
5 | <xsl:template match="/retorno/contacts"> |
---|
6 | <html> |
---|
7 | <head> |
---|
8 | </head> |
---|
9 | <body> |
---|
10 | <div id="all_groups"> |
---|
11 | <xsl:apply-templates select="group" /> |
---|
12 | </div> |
---|
13 | </body> |
---|
14 | </html> |
---|
15 | </xsl:template> |
---|
16 | |
---|
17 | <xsl:template match="group"> |
---|
18 | <div style="margin-left:16px;overflow:hidden;" id="{@name}"> |
---|
19 | <b><xsl:value-of select="@name" /></b> |
---|
20 | <br /> |
---|
21 | <xsl:apply-templates select="item" /> |
---|
22 | </div> |
---|
23 | </xsl:template> |
---|
24 | |
---|
25 | <xsl:template match="item"> |
---|
26 | <div style="cursor:pointer;margin-left:8px;width:2000px" onmouseover="this.className='contato_hover'" onmouseout="this.className=''" onmousedown="javascript:IM.action_button(event, '{@jid}');" id="{@jid}"> |
---|
27 | <xsl:value-of select="@name" /> |
---|
28 | </div> |
---|
29 | </xsl:template> |
---|
30 | |
---|
31 | </xsl:stylesheet> |
---|
Note: See
TracBrowser
for help on using the repository browser.