.net lets you use the ~ as a placeholder for the current application directory.
objXSLT.Load(Server.MapPath("~/documents/stylesheets/styles.xslt"))
.net will replace ~ with the application root if there is one.
Keep in mind that even though your .
vb file lives under a subdirectory in the application, its code is compiled and lives in the DLL that is in /bin of the application. Of course, this is irrelevant still because the code is EXECUTING at the level of the AS?X. If the page is at the root, you could use this successfully:
objXSLT.Load(Server.MapPath("documents/stylesheets/styles.xslt"))
Only if the AS?X is running under a sub directory do you need to worry about "backing up" to get at files in other directories. To be on the safe side, I always use "~/..." and reference everything from the root of my application.
Peter
------------------------------------------------------
Work smarter, not harder.