XSLT to convert dynamic XML to CSV and the XML nodes are not completely repetative II

前端 未结 2 628
[愿得一人]
[愿得一人] 2021-01-29 03:42

Am trying to create an XSLT to convert XML to CSV. Here am placing my XML and expected output anyone have any idea how to get the below output please share me on priority.

2条回答
  •  不知归路
    2021-01-29 04:16

    you can use this

    
        
            
            ,
            ,
            ,
            ,
            ,
            ,
            
            
            ,
            ,
            ,
            ,
            ,
            ,
            ,
            ,
            
            
    
        
    
    

    Output is

    A,Fail,SETTLE,CO,11/11/2011,11,20,SA,PR,Debit,11/11/2011,INDIA,MT,200,22
    ,,,,,,,,,Outward,12/1/2015,UK,EMP,1,100
    B,Ok,UNSETTLE,MM,12/12/2012,22,60,RB,IM,Credit,12/12/2012,DELHI,AP,100,66
    ,,,,,,,,,Value,5/5/2001,US,PASS,111,666
    

提交回复
热议问题