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="message"> |
---|
6 | <!-- <b><xsl:value-of select="@from" /> :</b><br /> --> |
---|
7 | <b> :</b><br /> |
---|
8 | <!-- |
---|
9 | linha abaixo apresenta problema quando envia mtas msg seguidas |
---|
10 | entretanto linha que está habilitada na sequencia não funciona no psy |
---|
11 | --> |
---|
12 | |
---|
13 | <xsl:apply-templates select="descendant::*[name()='body' and preceding::body]" mode='body' /> |
---|
14 | |
---|
15 | <!-- |
---|
16 | <xsl:apply-templates select="html/body" mode='body' /> |
---|
17 | --> |
---|
18 | </xsl:template> |
---|
19 | |
---|
20 | <xsl:template match="*" mode="body"> |
---|
21 | <xsl:copy-of select="." /> |
---|
22 | <br /> |
---|
23 | <br /> |
---|
24 | </xsl:template> |
---|
25 | |
---|
26 | </xsl:stylesheet> |
---|
Note: See
TracBrowser
for help on using the repository browser.