Re: [xsl] Passing XML data to HTML form

Subject: Re: [xsl] Passing XML data to HTML form
From: andrew.curry@xxxxxxxxxxxx
Date: Tue, 2 Dec 2003 11:32:36 -0000
If all you want the XSL to do is get the data from the xml and build a link
which points to a form then creating a URL and passing this to a cgi is your
best bet.


PA Sport RnD

Andrew Curry
Software Developer

Telephone: 01430 455545
Website:        http://www.pa.press.net

PA News Limited:
Bridgegate, Howden, East Yorkshire, DN14 7AE

Registered Office:
PA News Limited, 292 Vauxhall Bridge Road, London SW1V 1AE. Registered in
England No. 3891053


----- Original Message ----- 
From: "SHEIKH Sajjad" <Sajjad.SHEIKH@xxxxxxxxxxx>
To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
Sent: Tuesday, December 02, 2003 11:15 AM
Subject: RE: [xsl] Passing XML data to HTML form


> The idea is that one style sheet will construct the link.
> When user will click the link "Order It Now!", that link will take user
> to a prefilled form.
>
> I don't think its possible to perform with one stylesheet only.  If it
> is possible, then it resolves the issue!
>
> What do you think?
>
> -----Original Message-----
> From: andrew.curry@xxxxxxxxxxxx [mailto:andrew.curry@xxxxxxxxxxxx]
> Sent: 02 December 2003 11:47
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject: Re: [xsl] Passing XML data to HTML form
>
>
> Can the same stylesheet not just construct the form also?
>
>
> ----- Original Message ----- 
> From: "SHEIKH Sajjad" <Sajjad.SHEIKH@xxxxxxxxxxx>
> To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
> Sent: Tuesday, December 02, 2003 10:35 AM
> Subject: RE: [xsl] Passing XML data to HTML form
>
>
> > 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.ht
> > m
> > ==============================================================
> >
> >  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
> >
>
>  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
>


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


Current Thread