[xsl] Merging two XML files

Subject: [xsl] Merging two XML files
From: ARULRAJ <p_arulraj@xxxxxxxxx>
Date: Tue, 2 Dec 2003 06:20:05 -0800 (PST)
Hi,
 I want to merge two xml files and to generate XML
file using xalan parser.
First file name: employeeNames.xml
<employees>
   <employee id="1">
      <lastname>Smith</lastname>
      <firstname>Marsha</firstname>
   </employee>
</employees>

Second file Name: employeeAddresses.xml
<employees>
   <employee id="1">
      <address>115 Marshal Rd., 
      Greenville, MN 39281</address>
   </employee>
</employees>
Third file to store above two files
<files>
   <file>employeeNames.xml</file>
   <file>employeeAddresses.xml</file>
</files>

I need the following output, I need XSL coding to
match this id and merging this two file
<employees>
   <employee id="1">
      <lastname>Smith</lastname>
      <firstname>Marsha</firstname>
       <address>115 Marshal Rd., 
      Greenville, MN 39281</address>

   </employee>
</employees>


__________________________________
Do you Yahoo!?
Free Pop-Up Blocker - Get it now
http://companion.yahoo.com/

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread