xml merge two files using xsl?
问题 I need to merge two similar xml files, but only records which match on common tags, e.g. <type> in the following example: file1.xml is <node> <type>a</type> <name>joe</name> </node> <node> <type>b</type> <name>sam</name> </node> file2.xml is <node> <type>a</type> <name>jill</name> </node> so that I have an output of <node> <type>a</type> <name>jill</name> <name>joe</name> </node> <node> <type>b</type> <name>sam</name> </node> What are the basics of doing this, in xsl? Many thanks. 回答1: This