Good morning (it is over here)
Our customer site uses Teamsite (6.5 on windows 2k) to generate ASPs. Some of these ASPs use static XML files on the server. The XML files refer to DTDs like this
<!DOCTYPE standard_rules SYSTEM "standard_rules.dtd">
Now, the example above assumes that the DTD is located in the same folder as the XML file. What I'd like to do is put the DTD in a central location so that many XML files can refer to the same DTD.
The trouble with doing this is that the path to the DTD on the customer server within Teamsite is different (because of branches & workareas etc) compared to the actual folder when the file is deployed to the live web server. For example, the path on the file standard_rules.xml on the Teamsite server might be
Y:\very\long\prefix\path\to\standard_rules.xml
whereas the same file on the public web server might be
e:\a\completely\different\path\to\standard_rules.xml
We use MSXML to process the XML files - so when it opens the XML - its at that point it will parse it and try to find the DTD. Any ideas how I could either change the path to the DTD in the XML files or reconfigure the Teamsite server so that processing the XML will work when the ASP is virtualised and also when viewed on the public webserver?
I realise that we can use iw.cfg for mapping HTTP requests - but this is at the filesystem level. If we were running under unix, I'd create a symbolic link (in the same directory as the XML) to the DTD in the central location. but sadly, we're not!
Ideas anyone?