Mercurial > hg > index.fcgi > www > www-1
comparison myrss/step2.xsl @ 76:51f0da3da721
myrss: fix Atom link parsing
author | paulo |
---|---|
date | Thu, 12 May 2016 01:04:10 -0700 |
parents | 4d7f45e51e8e |
children |
comparison
equal
deleted
inserted
replaced
0:4319f4985d8b | 1:14fc978f7fce |
---|---|
1 <?xml version="1.0" encoding="ISO-8859-1"?> | 1 <?xml version="1.0" encoding="ISO-8859-1"?> |
2 <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:pba="http://www.pauloang.com/"> | 2 <xsl:stylesheet version="1.0" |
3 xmlns:xsl="http://www.w3.org/1999/XSL/Transform" | |
4 xmlns:pba="http://www.pauloang.com/"> | |
3 <xsl:output method="html"/> | 5 <xsl:output method="html"/> |
4 | 6 |
5 <xsl:template match="pba:site"> | 7 <xsl:template match="pba:site"> |
6 <H2><A HREF="{pba:link}"><xsl:value-of select="pba:title"/></A></H2> | 8 <H2><A HREF="{normalize-space(pba:link)}"><xsl:value-of select="pba:title"/></A></H2> |
7 <P> | 9 <P> |
8 <xsl:for-each select="pba:headline"> | 10 <xsl:for-each select="pba:headline"> |
9 <A HREF="{pba:link}"><xsl:value-of select="pba:title"/></A> - | 11 <A HREF="{normalize-space(pba:link)}"><xsl:value-of select="pba:title"/></A> - |
10 </xsl:for-each> | 12 </xsl:for-each> |
11 </P> | 13 </P> |
12 </xsl:template> | 14 </xsl:template> |
13 | 15 |
14 </xsl:stylesheet> | 16 </xsl:stylesheet> |