XSLT:Recursive Mapping

后端 未结 1 344
醉梦人生
醉梦人生 2021-01-27 07:04

I am new to XSLT transformation and got stuck with this recursive mapping.


  
  
  
  <         


        
1条回答
  •  清酒与你
    2021-01-27 07:57

    This should do the job:

    
    
      
    
      
      
        
          
        
      
    
      
      
        
          
          
        
        
        
      
    
      
      
        
          
        
      
    
    
    

    As Tim notes the result is not a valid XML because it has two root elements. To generate an extra root element to make the output valid XML add this template:

    
      
        
      
    
    

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