Merging two XML files using XSLT

后端 未结 2 830
醉酒成梦
醉酒成梦 2021-01-12 16:00

I have 2 xml files which I need to merge together using a style sheet


  ...
  

        
2条回答
  •  深忆病人
    2021-01-12 16:26

    Given the following input files:

    ApplicationData.xml

    
    
        Whatever data you have in here.
    
    

    MetricList.xml

    
    
        Whatever list you have in here.
    
    

    AssessmentInput.xml

    
    
    

    the following transformation merge.xsl applied to AssessmentInput.xml

    
    
        
            
                
                
            
        
    
    

    produces the correct output of

    
    
        
            Whatever data you have in here.
        
        
            Whatever list you have in here.
        
    
    

提交回复
热议问题