Subject: Re: [xsl] <xsl:for-each> , only loop on half of the elements. From: David Carlisle <davidc@xxxxxxxxx> Date: Mon, 26 Jul 2010 16:14:42 +0100 |
in my xml file that i receive
i got a node: /content/collaborator
and in another node i got /content/collaborator too :
so when i do <xsl:for-each select="/content/collaborator"> both got merged ....
late's consider i got 6 elements on the node:
position() give me like
1 2 3 1 2 3
perhaps you want select="(some/xpath)[position()<= last() div 2]"
so it got not effect here ... any way to do like a loop (for like java/c) with out for-each?
and thanks.
________________________________________________________________________ The Numerical Algorithms Group Ltd is a company registered in England and Wales with company number 1249803. The registered office is: Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] <xsl:for-each> , only lo, Red Light | Thread | Re: [xsl] <xsl:for-each> , only loo, Evgeny Gazdovsky |
Re: [xsl] <xsl:for-each> , only loo, Evgeny Gazdovsky | Date | [xsl] When I have a parent / has a , Dan Acuff |
Month |