Mercurial > hg > index.fcgi > www > www-1
view myrss/step2.xsl @ 142:2ed8cf5f36bf
myrss2: fix handling of null feed title or links; miscellaneous URL updates
author | paulo |
---|---|
date | Mon, 18 Dec 2023 20:10:27 +0000 |
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>