Programming Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsOtherProgramming Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old December 2nd, 2006, 04:59 PM
StirCrazy StirCrazy is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Dec 2006
Posts: 2 StirCrazy User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 1 m 4 sec
Reputation Power: 0
100% asp newbie (only started today)

Hi folks hope you can help ~
I'm a php peep (a novice at that) so I have no idea about asp. I've recently found out that a certain task I've been trying to accomplish in php is so much easier to do in asp.

The general idea of this code is to get a url from another website and strip the variables, ie:-

partner=
&partnerId=
&param=
&searchId=

and apply these to a new url (ie. index.asp?partner=123&partnerId=123&param=123&searchId=123)

and then display results from a xsl file



I'm using this code to get a URLs from another website:-

Code:
Dim xmlrequest
Set xmlrequest = Server.CreateObject("MSXML2.ServerXMLHTTP")
xmlrequest.open "GET", strQuery, False
xmlrequest.setRequestHeader "Content-type", "text/xml"
xmlrequest.send


As far as I can work out it returns a urls to be displayed using:- merchantURL

Quote:
is displayed using
<xsl:value-of select="merchantURL" />



<!-- Think I need to put something here -->



and then display result like this:-
Code:
xml.loadxml(xmlrequest.responseText)
xsl.load(Server.MapPath(".") & "\results.xsl")

response.write xml.transformNode(xsl)




how would I go about taking the orginal <xsl:value-of select="merchantURL" />
and transform it to my altered url (ie. index.asp?partner=123&partnerId=123&param=123&searchId=123)




Does that make any sense at all?


Any help would be great

S.C>

Reply With Quote
  #2  
Old December 2nd, 2006, 05:01 PM
StirCrazy StirCrazy is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Dec 2006
Posts: 2 StirCrazy User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 1 m 4 sec
Reputation Power: 0
opppps just realised that I've posted in 'Other > Programming Help'

Can a mod move to the right forum
thanks

S.C>

Reply With Quote
  #3  
Old December 3rd, 2006, 07:54 PM
q97 q97 is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Apr 2005
Location: Brisvegas
Posts: 275 q97 User rank is Sergeant Major (2000 - 5000 Reputation Level)q97 User rank is Sergeant Major (2000 - 5000 Reputation Level)q97 User rank is Sergeant Major (2000 - 5000 Reputation Level)q97 User rank is Sergeant Major (2000 - 5000 Reputation Level)q97 User rank is Sergeant Major (2000 - 5000 Reputation Level)q97 User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: 4 Days 10 h 15 m 29 sec
Reputation Power: 37
I think this will help you: http://forums.aspfree.com/showthread.php?p=209416#post209416

Reply With Quote
Reply

Viewing: ASP Free ForumsOtherProgramming Help > 100% asp newbie (only started today)


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway
Stay green...Green IT