Skip to content
Fourohtwo

format.halowerk.com/v1/xslt-transform

Transform a small XML document with XSLT 3.0 using the installed Saxon-HE processor in an isolated OS process, returning a bounded UTF-8 principal result. 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

BaseAnswering
POSThttps://format.halowerk.com/v1/xslt-transform

Uptime100% of 4 checks in 30 days

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

// npm install fourohtwo
import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://format.halowerk.com/v1/xslt-transform", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"parameters":{"label":"Sum"},"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>","xml":"<items><item price=\"12\"/),
});
console.log(await res.json());

Example input

{"parameters":{"label":"Sum"},"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>","xml":"<items><item price=\"12\"/