Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: Server.Mappath between tags

From: "Joe Fawcett" <joefawcett@---------.------>
To: NULL
Date: 2/6/2006 2:33:00 PM
"Jos van der Vleuten" <jos.vander.vleuten@s...> wrote in message 
news:3e2aeaaf6991408c98a3429c1e1190e3@u......
> How can i use Server.Mappath between <msxsl:script> tags.
> Example please.
>
> regards,
> Jos van der Vleuten
I don't see how you can. <script> tags run in the context of the XSLT 
processor, they have no access to the HttpContext.
You could pass the Server object in to the process by using the addObject 
method, maybe worth trying:

For msxml:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/xmlsdk/html/106f85e4-6aa4-44ce-945a-23b2143586d2.asp

For .NET XML:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cpconXsltArgumentListForStylesheetParametersExtensionObjects.asp?frame=true

-- 

Joe Fawcett (MVP - XML)

https://mvp.support.microsoft.com/profile=8AA9D5F5-E1C2-44C7-BCE8-8741D22D17A5 




transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent