Incrementing and checking the counter variable in XSLT

后端 未结 6 1026
梦毁少年i
梦毁少年i 2020-11-29 09:56

I am having little difficulty in assigning a counter variable and incrementing it and then checking for a certain value in XSLT. Here is my code:



        
6条回答
  •  Happy的楠姐
    2020-11-29 10:21

    If you want to know where you are in a for-each loop, you can use the built-in position() function.

    
        
            
                
                    
                
                
            
        
    
    

提交回复
热议问题