|
Posted by Tarlanim on June 16, 2006, 2:56 am
Please log in for more thread options
Hi,
i'm looking for a way to pass parameter from a HTML-File to a XML-File.
In HTML-File i have a reference to XML-File and i want to use the
parametre from the HTML-File in XML-File (Parameter from callig HTML
instead of "1234567" and "mike" in XML-File) .
******* XML-File
show/hide quoted text
<?xml version="1.0" encoding="iso-8859-1" ?>
<?xml-stylesheet href="styles_arzt.xsl" type="text/xsl" ?>
<webservice>
<data>
<daten
quelle="http://my_httpserver:8988/context/myservice?invoke=get_myservice&cust_id=1234567&cust_name=mike"
show/hide quoted text
/>
</data>
</webservice>
******* HTML-File
show/hide quoted text
<html>
<head>
<title>Web-Service</title>
</head>
<body style="font-family:Verdana; font-size:12px; color:black;">
<p style="font-family:Verdana; font-size:12px;
show/hide quoted text
color:green;"><u>MyApplication</u></p>
<form action="webservice.xml">
<table border="0" cellpadding="5" cellspacing="0" bgcolor="#E0E0E0"
show/hide quoted text
width="350">
<tr>
<td align="left" width="100">ID:</td>
<td><input name="cust_id" type="text" size="15" maxlength="9"></td>
</tr>
<tr>
<td align="left" width="100">Name:</td>
<td><input name="cust_name" type="text" size="15"
maxlength="2"></td>
</tr>
<tr>
<td align="left" width="100">Formular:</td>
<td>
<input type="submit" value=" Submit ">
<input type="reset" value=" Cancel">
</td>
</tr>
</table>
</form>
</body>
</html>
Any idea? Is there another way to do this?
Thanks in advance.
Tarlaniim
|
<?xml-stylesheet href="styles_arzt.xsl" type="text/xsl" ?>
<webservice>
<data>