Class XsltProcessor

Namespace: redb.Route.Xslt
Assembly: redb.Route.dll

Pipeline processor that transforms the exchange body through an — the
transformation counterpart of . The result
(string / bytes / DOM, per ) replaces In.Body. The
Content-Type header is left unchanged (matching Apache Camel).

By default all message headers and exchange properties are passed as stylesheet parameters
(xsl:param), like Camel. When allowTemplateFromHeader is enabled a per-message
stylesheet from /
overrides the compiled default; those dynamic stylesheets are compiled once and cached.

public sealed class XsltProcessor : IProcessor

Inheritance

Object→XsltProcessor

Implements

Methods

Process(IExchange, CancellationToken)

Processes the exchange asynchronously.

public Task Process(IExchange exchange, CancellationToken ct = default)

Constructors