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?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Geert BormansInformation ArchitectCommented:
<xsl:apply-templates select="atom:feed/atom:entry[1]"/>

instead of

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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Web Languages and Standards

From novice to tech pro — start learning today.