[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: Passing XML data to HTML form

Subject: RE: Passing XML data to HTML form
From: "SHEIKH Sajjad" <Sajjad.SHEIKH@xxxxxxxxxxx>
Date: Tue, 2 Dec 2003 13:14:00 +0100
passing xml to html
Thanks Andrew for the suggestion.
I am looking at PhP for solution.

/s

-----Original Message-----
From: andrew.curry@xxxxxxxxxxxx [mailto:andrew.curry@xxxxxxxxxxxx] 
Sent: 02 December 2003 12:33
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re:  Passing XML data to HTML form


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:  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:  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:  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:  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.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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.