|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
1200+ fellow developers rate and compare features of the top IDEs, like Visual Studio, Eclipse, RAD, Delphi and others, across 13 categories. Enjoy this FREE Download of the IDE User Satisfaction Study by Evans Data Corporation. Download Now!
|
|
#1
|
|||
|
|||
|
Simple XML question
I have never worked with XML so go easy on my simple mind
![]() I need to create an XML page that does the following: It needs to store information for an ASP page that I created that redirects people from a virtual directory. So if someone types in whatever.com/directory they get sent to a specified URL if that directory is included in the URL file. So I need to store both the virutal directory and the domain it points to in an XML file and I need to know how to tell my asp doc to access the XML doc to look for it. Example: condition = many - to - url = one Can you help? ![]() |
|
#2
|
||||
|
||||
|
Use the xslProc.addParameter method to add a parameter to a stylesheet. After an xsl page transforms the xml based on the input parameter then initialize a an asp variabal (strResult = xslProc.output) as the results. The strResult would be the string value of the appropriate url that you use to redirect your user.
** i honestly don't know why you don't use a simple asp case statement and elliminate the xml al together... It would be much simpler and more efficient.
__________________
mr... mike.rusaw@realpage.com RalPage, Inc. "I have made this letter longer than usual, only because I have not had the time to make it shorter." - Blaise Paschal Last edited by mrusaw : August 5th, 2003 at 05:36 PM. |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > XML Programming > Simple XML question |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|