Jump to content

2 search loops :


pelegk

This topic is 7664 days old. Please don't post here. Open a new topic instead.

Recommended Posts

i have first loop :

<xsl:for-each select="$sorted-nodeset[position() &gt; $first-item and position() &lt;= $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 frown.gif

please helppppppppppppppp

Link to comment
Share on other sites

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">.

Link to comment
Share on other sites

This topic is 7664 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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.