#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Nov 2011
    Posts
    2
    Rep Power
    0

    XSL include/import from IIS virtual directory.


    Hi all,

    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.

    Regards,
    -Dennis
  2. #2
  3. Did you steal it?
    Devshed Supreme Being (6500+ posts)

    Join Date
    Mar 2007
    Location
    Washington, USA
    Posts
    14,068
    Rep Power
    9398
    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).
  4. #3
  5. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Nov 2011
    Posts
    2
    Rep Power
    0
    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.

    Thanks again!
    -Dennis

IMN logo majestic logo threadwatch logo seochat tools logo