Inputs
| Input | Type | Notes |
|---|
content | string, required | The XML to transform: @{triggerBody()}, @{body('X')}. JSON objects and $content envelopes are rejected. |
mapSource | deployed | inline | Default deployed. |
mapName | string | Deployed maps: the path under the map folder, /-separated, for example orders/order-to-sales-order.xslt. Can be an expression. |
xslt | string | Inline maps: the stylesheet text. Inline maps cannot include or import. |
parameters | object | xsl:param values by name: string, boolean or number. See Parameters and variables. |
enableScripts | boolean | Runs msxsl:script C#. Default false. |
allowedFunctionAliases | string array | Functions this action may call from the map. Default none. |
timeoutSeconds | integer | Deadline for the whole action; can only lower the host limit (60 s by default). |
Outputs
{
"result": "<SalesOrder>…</SalesOrder>",
"contentType": "application/xml; charset=utf-8",
"encoding": "utf-8",
"outputMethod": "xml",
"mapHash": "77d3a5d72599105f94c30b7636d702615102031751956eff5517aa7b0fa42186",
"diagnostics": {
"durationMs": 14, "compileCacheHit": true, "compileMs": 0, "transformMs": 2,
"inputBytes": 830, "outputBytes": 664, "functionCallCount": 0, "functionCacheHitCount": 0,
"correlationId": "…", "connectorVersion": "1.1.1+…", "engineProfile": "xslt1.0-xslcompiledtransform"
}
}
result is always a string. Use xml(body('Compose_using_XSLT')?['result']) with xpath(), or json(…) when the map writes JSON text.contentType follows xsl:output method: application/xml, text/html or text/plain, always charset=utf-8.mapHash is a SHA-256 over the map and every module it includes or imports: it changes when any of them changes.diagnostics has timings, compile cache hits and Function call counts, handy as response headers while testing.