Converting XML file to another XML file using XSLT

后端 未结 4 1555
青春惊慌失措
青春惊慌失措 2020-12-08 01:15

XML file 1:



    
        House 
        

        
4条回答
  •  刺人心
    刺人心 (楼主)
    2020-12-08 01:49

    This transformation:

    
     
     
    
     
      
       
      
     
    
     
      
       
      
     
     
    
    

    when applied on the provided XML document:

    
        
            House 
            420
            
    1 Wavell Street Box Hill VIC 3128
    3 1 1

    produces the wanted, correct result:

    
       
          House 
          420
          
    1 Wavell Street,Box Hill,VIC, Australia
    3 1 1

    Explanation: Using and overriding the identity rule.

提交回复
热议问题