I have
<xsl:for-each select="//article[articletype/@id=15 and position() =1]">
which pulls back nothing. I then change it to
<xsl:for-each select="//article[articletype/@id=15]">
<p><xsl:value-of select="position()"/></p>
which pulls back
1 2 3 4
Any reason why this is happening? I've even tried number(position())
. It only works if I use a large numbers and not the position I'm expecting
<xsl:for-each select="//article[articletype/@id=15 and position() < 100]">