pelegk Posted May 25, 2003 Posted May 25, 2003 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
cjaeger Posted May 26, 2003 Posted May 26, 2003 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">.
Recommended Posts
This topic is 7853 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now