Changeset 57 for trunk/instant_messenger/xsl/info_contact.xsl
- Timestamp:
- 08/20/07 17:12:03 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/instant_messenger/xsl/info_contact.xsl
r55 r57 1 1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> 3 <xsl:output method="html" omit-xml-declaration=" yes"/>3 <xsl:output method="html" omit-xml-declaration="no"/> 4 4 5 5 <xsl:template match="/info_contact"> … … 9 9 <body> 10 10 <table border="0" cellpading="1" cellspacing="2" width="90%" style="margin-top:10px"> 11 <xsl:apply-templates select="body" /> 11 <tr> 12 <td width="30%" align="right"> 13 <xsl:value-of select="getlang/FN" /> : 14 </td> 15 <td width="70%" align="left"> 16 <xsl:value-of select="vcard/FN" /> 17 <xsl:value-of select="vcard/fn" /> 18 </td> 19 </tr> 20 <tr> 21 <td width="30%" align="right"> 22 <xsl:value-of select="getlang/NICKNAME" /> : 23 </td> 24 <td width="70%" align="left"> 25 <xsl:value-of select="vcard/NICKNAME" /> 26 <xsl:value-of select="vcard/nickname" /> 27 </td> 28 </tr> 29 <tr> 30 <td width="30%" align="right"> 31 <xsl:value-of select="getlang/ORGUNIT" /> : 32 </td> 33 <td width="70%" align="left"> 34 <xsl:value-of select="vcard/ORGUNIT" /> 35 <xsl:value-of select="vcard/orgunit" /> 36 </td> 37 </tr> 38 <tr> 39 <td width="30%" align="right"> 40 <xsl:value-of select="getlang/ROLE" /> : 41 </td> 42 <td width="70%" align="left"> 43 <xsl:value-of select="vcard/ROLE" /> 44 <xsl:value-of select="vcard/role" /> 45 </td> 46 </tr> 47 <tr> 48 <td width="30%" align="right"> 49 <xsl:value-of select="getlang/BDAY" /> : 50 </td> 51 <td width="70%" align="left"> 52 <xsl:value-of select="vcard/BDAY" /> 53 <xsl:value-of select="vcard/bday" /> 54 </td> 55 </tr> 12 56 </table> 13 57 </body> … … 15 59 </xsl:template> 16 60 17 <xsl:template match="body">18 <tr>19 <td width="30%" align="right">20 <xsl:value-of select="@lang" /> :21 </td>22 <td width="70%" align="left">23 <label id="{@label}"></label>24 </td>25 </tr>26 </xsl:template>27 28 61 </xsl:stylesheet>
Note: See TracChangeset
for help on using the changeset viewer.