Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

XSL Functionality

Status
Not open for further replies.

msturges

Programmer
Mar 29, 2001
32
ZA
Hi all,

Can anyone out there tell me whether or not it is possible to do the following:

I have an xml document which represents a Purchase Order. I have created an XSL stylesheet to represent the order in a browser. In this XSL stylesheet I need to add the following functionality buttons/options:
1 - Accept
2 - Reject
3 - Cancel

When the users selects the appropriate option, a response file (xml document) must be generated and then FTP'd to another Server.

My thoughts on this were to create a link to an ASP file which creates the response file 'on the fly' and then actions the FTP of the response file. So, I created a link within my xsl stylesheet (pointing to the asp page). code looks like this:
<a href=&quot;response/Reject.asp&quot; target=&quot;mainFrame&quot;>Reject Order</a>

Pretty straight forward.(Keep in mind, this is in the XSL stylesheet)

However, when I test from a browser, the result is that I am prompted to download the ASP file 'reject.asp' rather than being redirected to the 'reject.asp' page in order to generate the response file. Not what I wanted.

And now I sit with my finger up my...................... let's not go there.

Any assistance would be greatly appreciated.
thanx
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top