xsl to convert xml to json

前端 未结 2 969
清歌不尽
清歌不尽 2020-12-01 13:48

Input XML


    
        
            ABC
            
                       


        
2条回答
  •  醉梦人生
    2020-12-01 14:04

    The below XSLT which I copied and pasted from here should help you to convert XML to JSON. Thanks :)

    
    
    
    
    {
        }
    
    
    
    
        "" :
             
        
    
    
    
    
        
    
    
    
    
        
        
                    
             ""
                    "":""
                           
                            
            { "" :[] }
            {
                
                
                }
        
        ,
    
    
    
    "" : "",
    
    
    

提交回复
热议问题