Top 1 row with XSL

Hi,

I have the following XSL code, but how do I only display the top row and not display the rest?
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet version="1.0" xmlns:atom='http://www.w3.org/2005/Atom' exclude-result-prefixes="atom" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
    <xsl:template match="/">
        <html>
            <body>
                <h2>heading here</h2>
                <table border="1">
                    <tr bgcolor="#9acd32">
                        <th align="left">Title</th>
                        <th align="left">Summary</th>
                        <th align="left">content</th>
                    </tr>
                    <xsl:apply-templates select="atom:feed/atom:entry"/>
                </table>
            </body>
        </html>
    </xsl:template>
   
    <xsl:template match="atom:entry">
        <tr>
            <td><xsl:value-of select="atom:title"/></td>
            <td><xsl:value-of select="atom:summary"/></td>
            <td><xsl:value-of select="atom:content"/></td>
        </tr>
    </xsl:template>
</xsl:stylesheet>

Open in new window

LVL 1
narmi2Asked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
Geert BormansConnect With a Mentor Information ArchitectCommented:
<xsl:apply-templates select="atom:feed/atom:entry[1]"/>

instead of

<xsl:apply-templates select="atom:feed/atom:entry"/>
0
All Courses

From novice to tech pro — start learning today.