Hello,
My boss said I need to get this done ASP and I have no idea what I am doing
Good luck on trying to answer this question
I am working with a Windows server using ASP and I need to write an XML doc to handle virtual directory forwarding working a long with my 404.asp error page. I want to include the XML doc as an include to the 404.asp doc. I don’t know how to do it though?

I have very little experience with XML.
This is an example of what I want to do:
-User types in whatever.com/directory
-Then IIS sends them to the 404.asp page and the 404.asp page checks with the include XML doc.
-The XML doc checks to see if whatever.com/directory is a valid virtual directory included within the XML doc and if it is valid it sends them to an assigned URL for that virtual directory. (In other words, the directory isn’t a ‘real’ directory it is just a virtual directory that is read and assigned within the XML file which can forward to a specific URL.
If whatever.com/directory cannot be found within the XML include file the person just stays on the 404.asp error page rather than being forwarded somewhere else.
Now, what would the XML look like to accomplish something like this? I don’t know how to do this
Short example
-User types URL: whatever.com/directory
-404.asp loads and asks: Check XML include file
-XML include file looks to see if it should send user from whatever.com/directory to a URL.
-If whatever.com/directory cannot be found in XML the user will stay on the 404.asp error page.