473,397 Members | 2,116 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,397 software developers and data experts.

Pass parameter from one HTML to another HTML

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
1 5078
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Salmo Bytes | last post by:
I want to send an xml string as a get parameter, where the xml is created from a runtime database query. I try to avoid dynamic framesets, but sometimes they're needed: $xml =...
7
by: M-a-S | last post by:
I'd like to parametrize a module. That is, to set and pass some values into the module, while it is being imported. I tried this: # sub_1.py -- main program extern = "OK" import sub_2 print...
2
by: Yarik | last post by:
Hello there! I am working with MS SQL Server 2000. I have a table function that takes an integer parameter and returns a table, and I can successfully use it like this (passing a literal as a...
5
by: Julien C. | last post by:
Hi all, I have an "EditeItem.aspx" page which lets me edit properties of an "Item". In the OnClick() event of my Save button, I do save Item changes to the database and then I redirect the user...
5
by: David++ | last post by:
Hi folks, I would be interested to hear peoples views on whether or not 'pass by reference' is allowed when using a Web Service method. The thing that troubles me about pass-by-reference into...
9
by: One | last post by:
I have a main.php file that calls a php navigation menu. I want to pass the menu file a parameter to tell it which menu to display. Inside the main.php I have : include...
2
by: SM | last post by:
Hello, Such a simple question and i can't find the answer(see code below). Here it is: I have a function: ini() In that function, i call a function (load_CDThumbnail) that creates an array and...
9
by: grbgooglefan | last post by:
I am trying to pass a C++ object to Python function. This Python function then calls another C++ function which then uses this C++ object to call methods of that object's class. I tried...
12
by: raylopez99 | last post by:
Keywords: scope resolution, passing classes between parent and child forms, parameter constructor method, normal constructor, default constructor, forward reference, sharing classes between forms....
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.