XSL for Xml to table transformation for two rows and many columns

前端 未结 2 1133
不思量自难忘°
不思量自难忘° 2021-01-23 06:39

I have been trying to work on a variation of a question I asked last week.

XSL for Xml to table transformation.

I have to output the the first and last page numb

2条回答
  •  日久生厌
    2021-01-23 07:33

    first you need to group section wise then get first and last node in for-each

    Group by `section`
      for-each `section`
        if position =1 or position = last
          print it
    

    Here is a xsl 1.0 grouping example reference. Hope you can proceed

    XSLT select only last version element in rowset

    **In xslt **

    
    
    
        
                    
                
                    
                
                
                    
                        

提交回复
热议问题