Revision 903,
879 bytes
checked in by niltonneto, 15 years ago
(diff) |
Importacao inicial do Expresso do Serpro
|
Rev | Line | |
---|
[903] | 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.