How to Split xml String when using XSLT1.0?

后端 未结 1 1580
眼角桃花
眼角桃花 2021-01-28 23:23

This is my Xml file I want to split month as different ,year as different and 000/xxx as different How can we do that in XSLT1.0 ??

MY xml Code:-

<         


        
1条回答
  •  傲寒
    傲寒 (楼主)
    2021-01-29 00:00

    Here is how you can parse the input to an HTML table. Note that this could be simpler if each item were a row instead of a column.

    XSLT 1.0 (+EXSLT node-set)

    
    
    
    
        
            
                
            
        
        
        
                    
                    
                    

    Result

    
    
    Mar Mar
    2019 2018
    000/XXX 000/XXX

    Rendered:

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