Class XsltProcessor
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
Implements
Methods
Process(IExchange, CancellationToken)
Processes the exchange asynchronously.
public Task Process(IExchange exchange, CancellationToken ct = default)
Constructors
XsltProcessor(IXsltEngine, XsltOutput, bool, bool, bool, Func<string, IXsltEngine>?, Func<string, IXsltEngine>?)
Creates an XSLT processor around a compiled engine.