Revision 3070,
594 bytes
checked in by alexandrecorreia, 14 years ago
(diff) |
Ticket #1091 - Implementado a busca de salas para bate-papo no novo modulo Expresso messenger XEP-0045-MUC.
|
Line | |
---|
1 | <?xml version="1.0" encoding="utf-8"?> |
---|
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="listRooms"> |
---|
6 | |
---|
7 | <xsl:for-each select="room"> |
---|
8 | |
---|
9 | :: <xsl:value-of select="." /> :: <br/> |
---|
10 | |
---|
11 | </xsl:for-each> |
---|
12 | |
---|
13 | </xsl:template> |
---|
14 | |
---|
15 | |
---|
16 | |
---|
17 | <xsl:template match="child::*"> |
---|
18 | <xsl:for-each select="descendant::*"> |
---|
19 | <xsl:if test="name( ) = 'item'"> |
---|
20 | :: <xsl:value-of select="name( )" /> - <xsl:value-of select="@jid" /> ::<br/> |
---|
21 | </xsl:if> |
---|
22 | </xsl:for-each> |
---|
23 | </xsl:template> |
---|
24 | |
---|
25 | |
---|
26 | |
---|
27 | </xsl:stylesheet> |
---|
Note: See
TracBrowser
for help on using the repository browser.