Welcome Guest, you are in: Login

Daisley-Harrison Software

RSS RSS

Navigation




Search the wiki
»

The wiki-context namepace is provided to the XSLT transform as an extension object. The wiki-context namespace allows XSLT transform complete access to the ScrewTurn Wiki Plugin Framework API. This means that through the wiki-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 DumpWikiContextMarkup transform contains an example of just about all of the calls available in the wiki-context namespace.

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

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

BackupContent

ChangeCurrentUserLanguage

CacheProviders

Categories

CurrentUser

CurrentNamespaceName

CurrentPage

Directories

File

FileExists

FilePath

Files

Format

FormattingPhase

FilesStorageProviders

FormatterProviders

IsCurrentUserInGroup

IsForIndexing

IsForWysiwyg

IsLocal

IsSecureConnection

IsUserInGroup

Language

LogEntry

MarkupParameters

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

==PagesStorageProviders

ProviderConfiguration

Namespace

Namespaces

NavigationPaths

Revisions

SendMail

SetProviderConfiguration

SettingsStorageProvider

SettingValue

Snippets

Users

UserGroup

UserGroups

UsersStorageProviders

XsltMarkupProcessors

XsltMarkupProcessor






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.