XSLT Content Formatter
Notification Services provides a standard XSLT content formatter to help you develop and deploy Notification Services applications quickly. This content formatter lets you specify an XSL transform to apply to raw notification data that formats the data into a user-friendly message.
To support locale and device-specific formatting, you can create multiple XSLT files. Each one performs formatting for a specific locale and device type combination. These files each have the same name, but are put in a different directory. The XSLT content formatter selects the correct directory based on the device and locale and then formats the notification. For more information, see XSLT File Locations.
Notification Services caches a copy of the XSLT file it loads for each locale and device type combination. It uses this cached copy for processing current notifications to improve performance. If you update an XSLT file, restart the instance to make sure that the distributor uses the updated XSLT file.
The XSLT content formatter disables support for embedded script blocks in output. If you have to include scripts in your formatted notifications, or if you require other functionality not provided by the XSLT content formatter, you can create a custom content formatter. For more information, see Developing a Custom Content Formatter.
In This Section
Topic | Description |
---|---|
Describes the intermediate XML document that contains notification data and how to write XSL transforms to transform this data. |
|
Describes how to create a directory structure when performing different transforms per device and language. |
|
Describes how to configure an XSLT content formatter for use by a notification class. |
Change History
Release | History |
---|---|
17 July 2006 |
|
See Also
Concepts
Developing a Custom Content Formatter
Starting and Stopping Instances of Notification Services
Configuring Content Formatters
Other Resources
Defining Notification Classes
Defining Notification Services Applications