Merging XML documents containing formatting and data respectively..

Subject: Merging XML documents containing formatting and data respectively..
From: Manoranjan Das <manoranjan_das@xxxxxxxxx>
Date: Mon, 20 Nov 2000 05:34:50 -0800 (PST)
Hi All .. 
     I have the following problem. I have two XML
files out of which one contains Formatting character
and one contains data as follows.

First XML : (Containing HTML formatting)
<?xml version="1.0"?>
<HTML>
<BODY>
<form name = "applicationresponse">	
		<table>
			<tr>
				<td>
					<input name="firstname" size="6" type="text"
value=""/>
				</td> 	
			</tr>
			<tr>
				<td>
					<input name="lastname" size="6" type="text"
value=""/>
				</td> 	
			</tr>
		</table>
</form>	
</BODY>
</HTML>


Second XML : (Containing Data)

<?xml version="1.0"?>
<INPUTDATA>
	<FIRSTNAME>
		xyz
	</FIRSTNAME>
	<LASTNAME>
		abc
	</LASTNAME>
</INPUTDATA>

With this 2 XMLs , I want to generate one HTML file
with the following output.

Output File :


<HTML>
<BODY>
<form name = "applicationresponse">	
		<table>
			<tr>
				<td>
					<input name="firstname" size="6" type="text"
value="xyz"/>
				</td> 	
			</tr>
			<tr>
				<td>
					<input name="lastname" size="6" type="text"
value="abc"/>
				</td> 	
			</tr>
		</table>
</form>	
</BODY>
</HTML>


       How to proceed for this ??

Thanks in advance ..
Das


__________________________________________________
Do You Yahoo!?
Yahoo! Calendar - Get organized for the holidays!
http://calendar.yahoo.com/


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


Current Thread