Xslt - iterate nodes in chunks

后端 未结 1 648
甜味超标
甜味超标 2021-01-23 16:05

I have an existing xslt script which creates a PDF with FOP, problem is that its running out of memory when doing apply-template on a specific nodetype when the node count excee

1条回答
  •  时光取名叫无心
    2021-01-23 16:45

    Edit: Sorry for typo. Miss node test after following-sibling axis

    With this input:

    
        
            
        
        
            
        
        
            
        
        
            
        
        
            
        
        
            
        
        
            
        
        
            
        
    
    

    This styleshet:

    
        
            
                
                
                
                    
                        
                    
                
            
        
        
            
        
    
    

    Output:

    
        
            
            
            
        
        
            
            
            
        
        
            
            
        
    
    

    0 讨论(0)
提交回复
热议问题