The http-context namepace is provided to the XSLT transform as an extension object. The http-context namespace allows XSLT transform complete access to the current IIS Http context API. This means that throught the http-context namespace an XSLT transform can display and adjus tjust about any informatino about the HTTP request and response. Givng the XSLT transform complete sccess to page paramters as well as both session and application variables (If properly trusted).
This section is still a work in process.
In the mean time take a look at some of the xslt examples on line in
XsltMarkupPlugin Transform Examples. The
DumpHttpContextMarkup XLST Markup Example transform contains an example of just about all of the calls available in the http-context namespace.
The data-access namespace made accessable in an xslt transform by declaring the following namespace
xmlns:data="http://daisley-harrison.com/namespaces/screwturnwiki/xsltmarkupplugin/http-context"AcceptTypes
ApplicationSetting
Retrieve an application setting from the web.config file
usage:
<xsl:variable name="setting-value" select="http:ApplicationSetting("application-setting-key")"/>
AppRelativeCurrentExecutionFilePath
AppendCookie
AppendHttpHeader
AppendToIISLog
ApplicationVariable
AnonymousID
ApplicationPath
CookieValue
ContentType
CurrentExecutionFilePath
FormParameter
HtmlDecode
HtmlEncode
HttpHeader
HttpMethod
IsAuthenticated
IsLocal
IsSecureConnection
LogonUserName
LogonUserIsAnonymous
LogonUserIsAuthenticated
MachineName
MapPath
=PageParameter==
PathInfo
PhysicalPath
PhysicalApplicationPath
QueryStringParameter
RawUrl
Redirect
RequestType
RequestUrl
SetApplicationVariable
SetSessionVariable
SessionVariable
ServerVariable
Trace
UrlDecode
UrlEncode
UrlReferrer
User
UserAgent
UserHostAddress
UserHostName