This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Merging XML documents containing formatting and data respectively..


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]