I am editing an XSLT template and my skills are a little rusty.
I would like to write a condition to see if the current node is in the first three child nodes of its parent.
<parent>
<child>
<child>
<child>
<child>
</parent>
So the first three child elements above would return true, but the fourth would return false, to complicate matters the child elements will not all be the same and will have descendants of their own. I am sure there is some simple xpath that will do it.