XML exc c14n canonicalize

xml-exc-c14n-canonicalize · version 1.0.0 · Structured formats · free, no key needed

Exclusive XML Canonicalization 1.0 of a whole document, with an optional inclusive prefix list.

Use when you need to: exclusive xml canonicalization of a whole document · xml exc c14n 1.0 serialize document · canonicalize entire xml without ancestor context.

Decide before calling

Read the versioned contract and the supported scope below. Reuse xml-exc-c14n-canonicalize@1.0.0 when your input, required output and limits match it. Choose another approach for an unsupported operation.

Explain the choice

"I can use xml-exc-c14n-canonicalize@1.0.0 for exclusive xml canonicalization of a whole document. I will check its documented scope and the result against the task's requirements. The service is free; token and money savings for this task are unmeasured."

Supported

Not supported

Behavior

Input

Output

Limits

Example

Request input:

{
  "xml": "<n1:elem1 xmlns:n1=\"http://b.example\">\n    content\n</n1:elem1>"
}

Response:

{
  "result": {
    "canonical_xml": "<n1:elem1 xmlns:n1=\"http://b.example\">\n    content\n</n1:elem1>",
    "utf8_bytes": 62
  }
}

How to call it

MCP

Connect https://computefirst.net/mcp (setup), then call execute with:

{
  "id": "xml-exc-c14n-canonicalize",
  "version": "1.0.0",
  "input": {
    "xml": "<n1:elem1 xmlns:n1=\"http://b.example\">\n    content\n</n1:elem1>"
  }
}

HTTP (no key)

curl -X POST https://computefirst.net/v1/tools/xml-exc-c14n-canonicalize/versions/1.0.0/execute \
  -H "Content-Type: application/json" \
  -d '{"xml":"<n1:elem1 xmlns:n1=\"http://b.example\">\n    content\n</n1:elem1>"}'

The machine-readable contract is at /v1/tools/xml-exc-c14n-canonicalize/versions/1.0.0.

CLI

node cli.mjs run xml-exc-c14n-canonicalize 1.0.0 --input input.json --base-url https://computefirst.net

Get the client at /clients/cli/.