By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
444,120 Members | 1,786 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 444,120 IT Pros & Developers. It's quick & easy.

Pass parameter from one HTML to another HTML

P: n/a
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
<?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&amp;cust_id=1234567 &amp;cust_name=mike"
/>
</data>
</webservice>

******* HTML-File
<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;
color:green;"><u>MyApplication</u></p>
<form action="webservice.xml">
<table border="0" cellpadding="5" cellspacing="0" bgcolor="#E0E0E0"
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
Jun 16 '06 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Tarlanim wrote:
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) .


Yep -- just make your XML generated by a server-side script (e.g. PHP,
Perl, etc).

--
Toby A Inkster BSc (Hons) ARCS
Contact Me ~ http://tobyinkster.co.uk/contact

Jun 16 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.