RE: [xsl] Passing XML data to HTML form

Subject: RE: [xsl] Passing XML data to HTML form
From: "SHEIKH Sajjad" <Sajjad.SHEIKH@xxxxxxxxxxx>
Date: Tue, 2 Dec 2003 11:35:26 +0100
Yes indeed.

I want to pass the data set obtained from one style sheet to pass it to
other sheet so it could construct the form.

Perhaps a unique global parameter for two sheets?

-----Original Message-----
From: JCS [mailto:subscriber@xxxxxxxxxxxxx] 
Sent: 01 December 2003 19:49
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: [xsl] Passing XML data to HTML form


On 2/12/03 6:26 AM, "SHEIKH Sajjad" <Sajjad.SHEIKH@xxxxxxxxxxx> wrote:

> Perhaps other way around.
> 
> I have constructed the URL in its typical shape.  For example, 
> c:\1xml\request_form.html?id=xxx&modified=yyy etc
> 
> What I want now is to use the values of URL.
> Value of id is set to xxx and modified which is set to yyy as an input

> to my form so I will get it prefilled.
> 
> So you have any example for that?
> That will be a great help!


Ah, I think I understand now what you're trying to do... You have a
*query
string* from a URI and you want to pass the variables to your HTML form?

I use PHP with XSLT processing so this is quite easy for me, however I'm
not sure which route you can use to GET variables passed from a query
string. I can pass a parameter array from PHP to an XSL stylesheet but
that's through a PHP function. I do that quite often.

I guess you just need something to GET the URI query string and pass it
into your stylesheet? 

/johnny :)

-- 
"You'll see it when you believe it." 


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


______________________________________________________________
This message has been scanned for all viruses by BTnet VirusScreen. The
service is delivered in partnership with MessageLabs.

This service does not scan any password protected or encrypted
attachments.  

If you are interested in finding out more about the service, please
visit our website at
http://www.btignite.com/internetservices/btnet/products_virusscreen.htm
==============================================================

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread