Примечание.
Для доступа к этой странице требуется авторизация. Вы можете попробовать войти или изменить каталоги.
Для доступа к этой странице требуется авторизация. Вы можете попробовать изменить каталоги.
Specifies the content formatter used by the associated notification class.
Синтаксис
<NotificationClasses>
<NotificationClass>
...
<ContentFormatter>
Element Characteristics
| Characteristic | Description |
|---|---|
Data type |
None. |
Default value |
None. |
Occurrence |
Required once per NotificationClass element. |
Updates |
Cannot be added or deleted. |
Element Relationships
| Relationship | Elements |
|---|---|
Parent element |
|
Child elements |
ClassName Element for ContentFormatter (ADF) |
Замечания
Each notification class has one content formatter. The content formatter can perform different formatting based on notification field values.
The built-in XSLT content formatter can use different XSLT files based on the notification's subscriber device and locale. For more information about the standard XSLT content formatter, see Модуль форматирования данных XSLT.
Пример
The following example shows ContentFormatter elements. The Stock.StockFormatter class provides the content formatting functionality, and is implemented in the StockFormat.dll assembly. The content formatter takes a single argument that tells it to display the content in HTML format.
<ContentFormatter>
<ClassName>Stock.StockFormatter</ClassName>
<AssemblyName>C:\CustomCFs\StockFormat.dll<AssemblyName>
<Arguments>
<Argument>
<Name>OutputHTML</Name>
<Value>true</Value>
</Argument>
</Arguments>
</ContentFormatter>
См. также
Справочник
Application Definition File Reference
Другие ресурсы
Настройка модулей форматирования данных
Обновление экземпляров и приложений