File tree Expand file tree Collapse file tree 1 file changed +10
-2
lines changed
Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change 11<?xml version =' 1.0' encoding =" ISO-8859-1" ?>
22<xsl : stylesheet
33 xmlns:xsl=' http://www.w3.org/1999/XSL/Transform'
4+ xmlns:xhtml=' http://www.w3.org/1999/xhtml'
45 xmlns:media=" http://search.yahoo.com/mrss/"
56 xmlns:atom=" http://www.w3.org/2005/Atom"
67 xmlns:creativeCommons=" http://backend.userland.com/creativeCommonsRssModule"
7- exclude-result-prefixes=" creativeCommons atom media"
8+ exclude-result-prefixes=" creativeCommons atom media xhtml "
89 version=' 1.1'
910 >
1011<xsl : output method =" xml" indent =" yes" />
4849 <xsl : when test =" atom:content/@type='html'" >
4950 <xsl : value-of select =" atom:content" disable-output-escaping =" yes" />
5051 </xsl : when >
52+ <xsl : when test =" atom:content/@type='xhtml'" >
53+ <xsl : apply-templates select =" *" mode =" cp" />
54+ </xsl : when >
5155 <xsl : choose >
5256 <xsl : value-of select =" atom:content" />
5357 </xsl : choose >
5458</xsl : choose >
5559</dd >
5660</xsl : template >
5761
58-
62+ <xsl : template match =" @*|node()" mode =" cp" >
63+ <xsl : copy >
64+ <xsl : apply-templates select =" @*|node()" mode =" cp" />
65+ </xsl : copy >
66+ </xsl : template >
5967
6068</xsl : stylesheet >
You can’t perform that action at this time.
0 commit comments