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="response/Reject.asp" target="mainFrame">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
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="response/Reject.asp" target="mainFrame">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