May 25, 200322 yr i have first loop : <xsl:for-each select="$sorted-nodeset[position() > $first-item and position() <= $last-item]/medGeneral"> and i have inner loop <xsl:for-each select="../medDesc/item"> when i try in the inner loop to get the position() or to count() th child's i get error! why please helppppppppppppppp
May 26, 200322 yr no idea without knowing the xml & complete stylesheet. possible workarouds may be using xsl:key, calling different templates with param , or set up a dummy namespace for the result of first loop, then do <xsl:for-each select="dummy:medDesc/item">.
Create an account or sign in to comment