Mercurial > hg > index.fcgi > www > www-1
comparison myrss/step1.xsl @ 14:3affc32b1647
add hg/
author | paulo |
---|---|
date | Tue, 18 Dec 2012 03:30:33 -0700 |
parents | 4d7f45e51e8e |
children | e92b8e5b8fd7 |
comparison
equal
deleted
inserted
replaced
1:02822ece0e89 | 2:6c6cacb81f62 |
---|---|
8 | 8 |
9 <!-- Atom --> | 9 <!-- Atom --> |
10 <xsl:template match="/a:feed"> | 10 <xsl:template match="/a:feed"> |
11 <site> | 11 <site> |
12 <title><xsl:value-of select="a:title"/></title> | 12 <title><xsl:value-of select="a:title"/></title> |
13 <link><xsl:value-of select="a:link/@href"/></link> | 13 <link><xsl:value-of select="a:link[@rel='alternate']/@href"/></link> |
14 <xsl:for-each select="a:entry"> | 14 <xsl:for-each select="a:entry"> |
15 <headline> | 15 <headline> |
16 <title><xsl:value-of select="a:title"/></title> | 16 <title><xsl:value-of select="a:title"/></title> |
17 <link><xsl:value-of select="a:link/@href"/></link> | 17 <link><xsl:value-of select="a:link[@rel='alternate']/@href"/></link> |
18 </headline> | 18 </headline> |
19 </xsl:for-each> | 19 </xsl:for-each> |
20 </site> | 20 </site> |
21 </xsl:template> | 21 </xsl:template> |
22 | 22 |