473,473 Members | 1,759 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Writing operating system environment variables to xslt

1 New Member
Hi all:
I´m trying to modify the URL_query_string generated in a html form.
The underlying idea is to modify the query sent to the server - no ?operation=oper&query=query1&fied1=value1&field2=v alue2- but ?operation=oper&query=query1value1value2...
I don´t how to include the system variable QUERY_STRING created when submit the form in the matching xslt .
I tried :

<script language="javascript" type="text/javascript">
var querystring = Request.ServerVariables("REMOTE_ADDR");
</script>
after the submit buttom of the form but I do´nt know how convert this to a xsl variable in order to manipulate it.
Any help ?
Thanks
LuisZ
Aug 15 '07 #1
1 2450
jkmyoung
2,057 Recognized Expert Top Contributor
Sounds like there's 2 parts
1. Get the parameters from the URL.
2. Pass the parameters to the transformation engine you're using.

1. If you want to get the parameter using javascript, here is a link to a script: http://www.netlobo.com/url_query_string_javascript.html
Note, it's much easier to get URL parameters using a different language, such as ASP, JSP, or PHP.

2. This varies depending on your xslt processor. What xslt processor are you using? Are you using a default browser processor? Try searching for "passing parameters to xslt" and add the name of the application you're using.
Aug 15 '07 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: Jim Potts | last post by:
What is the best way in Python version 2.x to read/get Windows (nt/2000/xp) system and user environment variables? Thanks for the help! jep
2
by: could ildg | last post by:
To a environment variable in Windows, can python know if it is a system environment variable or a current-user environment variable? -- ðÐðÄ´ÏÃ÷¾ø¶¥¡¢¸ãЦ֮¼«£¬ÊÇÈËÀàµÄºÃÅóÓÑ¡£...
2
by: seash | last post by:
H iam developing my windows form application(ide:visual studio.net 2003, visual c#) on windows 2000 professional operating system , but when i run the exe on Xp operating system, the screen ...
2
by: Mahir Karabacak | last post by:
Hi all, I need to write an server application which will work Windows Remote Desktop Server (may be Terminal server). But the difference, insted of sending whole windows desktop messages to...
1
by: darrel | last post by:
We've purchased a component that requires us to install two DLLs. One we add as a reference to our project, but the otherone we have to add to the 'environment setup' as a system path reference....
5
by: Phil Kelly | last post by:
Hi I need to write the contents of a structure to a binary file - there is one string and 2 integers, but I can't seem to figure out how to write the data correctly. If I am simply writing...
2
by: Sean Campbell | last post by:
Hello all! I have been looking in the Framework documentation for an answer and it has not shown itself. Could someone tell me if it is possible with VB or C# to add and modify Windows System...
1
by: pagates | last post by:
Hi All, What's the "best" way to get System Environment Variables (VS2003)? Environment.GetEnvironmentVariable("xxx") only gets user Environment variables. Thanks, pagates
3
by: John Smith | last post by:
I try to write some data to a file. After some data had supposedly been written to the file, I opened the file before the program closed it and found it empty. What's wrong with my code? Thanks. ...
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...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
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...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.