source: trunk/instant_messenger/bkp/instant_messenger_32/xsl/vcard_contacts.xsl @ 151

Revision 151, 879 bytes checked in by niltonneto, 16 years ago (diff)

Commit da nova versão do módulo, usando agente em C.
Vide Página do módulo do Trac:
http://www.expressolivre.org/dev/wiki/messenger

A versão anterior encontra-se na subpasta bkp (32/64).

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/vcard">
6   <html>
7   <head>
8   </head>
9   <body>
10      <div id="_im_vcard_contacts_childs">
11         <xsl:apply-templates select="div" />
12      </div>
13   </body>
14   </html>
15</xsl:template>
16
17<xsl:template match="div">
18   <div id="{@id}">
19      <FN><xsl:value-of select="FN" /></FN>
20      <NICKNAME><xsl:value-of select="NICKNAME" /></NICKNAME>     
21      <ROLE><xsl:value-of select="ROLE" /></ROLE>
22      <ORGNAME><xsl:value-of select="ORG/ORGNAME" /></ORGNAME>
23      <ORGUNIT><xsl:value-of select="ORG/ORGUNIT" /></ORGUNIT>
24      <BDAY><xsl:value-of select="BDAY" /></BDAY>
25      <DESC><xsl:value-of select="DESC" /></DESC>
26   </div>
27</xsl:template>
28
29</xsl:stylesheet>
Note: See TracBrowser for help on using the repository browser.