Welcome Guest, you are in: Login

Daisley-Harrison Software

RSS RSS

Navigation




Search the wiki
»

The context namepace is provided to the XSLT transform as an extension object. The context namespace allows XSLT transform complete access to the ScrewTurn Wiki Plugin Framework API. This means that throught the context namespace an XSLT transform can display just about any information stored in the wiki and also make dynamic changes to the wiki.

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 DumpContextMarkup transform contains an example of just about all of the calls available in the context namespace.

The context namespace made accessable in an xslt transform by declaring the following namespace

xmlns:data="http://daisley-harrison.com/namespaces/screwturnwiki/xsltmarkupplugin/context"

AcceptTypes

AppRelativeCurrentExecutionFilePath

AppendCookie

AppendHttpHeader

AppendToIISLog

ApplicationVariable

AnonymousID

ApplicationPath

BackupContent

Categories

ChangeCurrentUserLanguage

CookieValue

ContentType

CurrentExecutionFilePath

CurrentUser

CurrentNamespaceName

CurrentPage

Directories

File



FileExists

FilePath

Files



Format

FormattingPhase

FormParameter

GetCacheProviders

GetFilesStorageProviders

GetFormatterProviders

==GetPagesStorageProviders

GetProviderConfiguration

=GetSettingsStorageProvider==

GetUsersStorageProviders



HtmlDecode

HtmlEncode

HttpHeader

HttpMethod

IsAuthenticated

IsCurrentUserInGroup

IsForIndexing

IsForWysiwyg

IsLocal

IsSecureConnection

IsUserInGroup



Language

LogEntry

LogonUserName

LogonUserIsAnonymous

LogonUserIsAuthenticated

Page

PageContent

Pages

Returns the list of wiki pages in the specified namespace. If the name of the namespace is empty, all pages from the root namespace are returned.

usage example:


    <xsl:variable name="pages-in-the-root" select="context:Pages('')"/>

    <xsl:variable name="pages-in-the-help-namspace" select="context:Pages('Help')"/>



PerformSearch

PrepareContentForIndexing

PrepareTitleForIndexing

MachineName

MapPath

Namespace

Namespaces

NavigationPaths

=PageParameter==

PathInfo



PhysicalPath

PhysicalApplicationPath



QueryStringParameter

RawUrl

Redirect

RequestType

RequestUrl

Revisions

SendMail

SetApplicationVariable



SetProviderConfiguration

SetSessionVariable

SessionVariable



SettingValue

ServerVariable

Snippets

Trace

UrlDecode

UrlEncode

UrlReferrer

User

UserAgent



UserHostAddress

UserHostName

Users

UserGroup

UserGroups






Please visit our blog at http://blog.daisley-harrison.com

- All Content © Copyright 2010 Daisley-Harrison Software - All Rights Reserved. - ScrewTurn Wiki version 3.0.1.400.