view myrss/step2.xsl @ 76:51f0da3da721

myrss: fix Atom link parsing
author paulo
date Thu, 12 May 2016 01:04:10 -0700
parents 4d7f45e51e8e
children
line source
1 <?xml version="1.0" encoding="ISO-8859-1"?>
2 <xsl:stylesheet version="1.0"
3 xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
4 xmlns:pba="http://www.pauloang.com/">
5 <xsl:output method="html"/>
7 <xsl:template match="pba:site">
8 <H2><A HREF="{normalize-space(pba:link)}"><xsl:value-of select="pba:title"/></A></H2>
9 <P>
10 <xsl:for-each select="pba:headline">
11 <A HREF="{normalize-space(pba:link)}"><xsl:value-of select="pba:title"/></A> -
12 </xsl:for-each>
13 </P>
14 </xsl:template>
16 </xsl:stylesheet>