November 6th, 2011, 10:46 AM
XSL include/import from IIS virtual directory.
I've been trying to track down an answer for this and haven't found anything concrete (yet...)
I am setting up a server running IIS with multiple websites.
I am looking to have a virtual directory that contains some XSL to be shared amongst all of the sites as a library of common templates, etc.
So far I have been unable to get the includes to work at all.
Is there a way to accomplish this in IIS? Is there a better way to setup a common library of my templates?
Thanks in advance for any help you can provide.
November 6th, 2011, 10:49 AM
The problem, and solution, depends on where the XSLT magic is happening. If it's client-side then you just use the normal URL paths (with the virtual directories) but if it's server-side then you need the filesystem paths (without the virtual directories).
November 6th, 2011, 11:33 AM
Excellent! Thank you for the quick response.
The magic is definitely server-side and when I switched to using the filesystem path it worked like a charm.