Click or drag to resize
<handlers> Element

handler defines a HandlerElement to intercept requests using the engine.

Attributes and elements

The following sections describe attributes, child elements, and parent elements.

Attributes

Attribute

Description

defaultTemplate

default template number; this is the template number of the home page

name

name for this handler, must be unique across all handlers

path

regular expression to determine whether the handler intercepts the request or not; the value tested against the regular expression is the local path of the request, without the IIS application root and without the query string.

Example: if the URI requested is http://www.monwebsite.com/myapplication/myhandler.ashx and the application's path in IIS is /myapplication, the tested value is "myhandler.ashx".

Child elements

Element

Description

actions

List all actions to be executed by this handler

extractors

List all extractors to be executed by this handler

renderers

List the renderers among which the handler will choose to render the content

enginemodule

Configures the engine module variables for this handler

transformgenerator

IXslTransformGeneratorFactory to be used by this handler to load the XSLT file

Parent elements

Element

Description

handlers

contains a collection of HandlerElement