xsl-list
[Top] [All Lists]

for-each filter

2005-03-22 17:33:52
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...

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



<Prev in Thread] Current Thread [Next in Thread>