owen88
Programmer
- Apr 24, 2008
- 5
hi there,
i have an rss feed that i would like to split into 2 coloums 5 news items on each side. im currently using the default dot net nuke style sheet which is as follows;
<?xml version="1.0"?>
<xsl:stylesheet version="1.0" xmlns:xsl="<xsl
utput method="html" indent="yes"/>
<xsl
aram name="TITLE"/>
<xsl:template match="rss">
<!-- Do not show channel image -->
<xsl:for-each select="channel/item">
<br>
<strong><a href="{link}" target="_main"><xsl:value-of select="title"/></a></strong><br></br>
<!-- only display markup for description if it's present -->
<xsl:value-of select="description"/>
</br>
<br></br>
</xsl:for-each>
</xsl:template>
<xsl:template match="description">
<br>
<xsl:value-of select="."/>
</br>
</xsl:template>
</xsl:stylesheet>
thanks for the help
i have an rss feed that i would like to split into 2 coloums 5 news items on each side. im currently using the default dot net nuke style sheet which is as follows;
<?xml version="1.0"?>
<xsl:stylesheet version="1.0" xmlns:xsl="<xsl
<xsl
<xsl:template match="rss">
<!-- Do not show channel image -->
<xsl:for-each select="channel/item">
<br>
<strong><a href="{link}" target="_main"><xsl:value-of select="title"/></a></strong><br></br>
<!-- only display markup for description if it's present -->
<xsl:value-of select="description"/>
</br>
<br></br>
</xsl:for-each>
</xsl:template>
<xsl:template match="description">
<br>
<xsl:value-of select="."/>
</br>
</xsl:template>
</xsl:stylesheet>
thanks for the help