Skip to content
HALOWERK

Formatwerk

xslt transform

Runs the existing SaxonJ-HE 12.9 inside a fresh unprivileged, read-only OS rootfs on AX42. Only the runtime, processor and trusted harness are mounted; no application state or credentials. Host networking, external resource resolution, extension calls and secondary output documents are disabled. Supports small self-contained XSLT 1.0/2.0/3.0 stylesheets within Saxon-HE features, with optional plain string parameters. OS wall-clock, memory, process and output limits apply before settlement..

POST https://format.halowerk.com/v1/xslt-transform

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
xmlstringYes
stylesheetstringYes
parametersobjectNo
Show full input schema
{
  "type": "object",
  "additionalProperties": false,
  "required": [
    "xml",
    "stylesheet"
  ],
  "properties": {
    "xml": {
      "type": "string",
      "minLength": 1,
      "maxLength": 65536
    },
    "stylesheet": {
      "type": "string",
      "minLength": 1,
      "maxLength": 32768
    },
    "parameters": {
      "type": "object",
      "maxProperties": 16,
      "propertyNames": {
        "pattern": "^[A-Za-z_][A-Za-z0-9_.-]{0,63}$"
      },
      "additionalProperties": {
        "type": "string",
        "maxLength": 4096
      }
    }
  }
}

Open original schema

Published input example

{
  "xml": "<items><item price=\"12\"/><item price=\"8\"/><item price=\"5\"/></items>",
  "stylesheet": "<xsl:stylesheet version=\"3.0\" xmlns:xsl=\"http://www.w3.org/1999/XSL/Transform\"><xsl:output method=\"text\"/><xsl:param name=\"label\" select=\"'Total'\"/><xsl:template match=\"/\"><xsl:value-of select=\"$label\"/><xsl:text>: </xsl:text><xsl:value-of select=\"sum(items/item/@price)\"/></xsl:template></xsl:stylesheet>",
  "parameters": {
    "label": "Sum"
  }
}

Result & documentation

Machine-readable documentation of this hub

Source of this page: the published HALOWERK catalog. Updated: 2026-11-17 UTC.

More endpoints in this hub

All endpoints in this hub โ†’