[xsl] for-each filter

Subject: [xsl] for-each filter
From: "Charles Ohana" <charles.ohana@xxxxxxxxxxxxxx>
Date: Tue, 22 Mar 2005 18:33:52 -0600
Hello,
I need to extract the first 5 children from an element.
I used the following syntax and I have problems with it.
<xsl:for-each select="/root/element[position()<4]">
...
</xsl:for-each>
Do I need to escape the condition ( position()&lt;4 ).
Can anybody let me know what am I doing wrong .

Thanx...

Current Thread