XSLT (3.0)
This assessment applies the coupling account — coupling as access to a shared resource, and the coupling floor [1], [2] — and the knowledge-embodiment theorem [3]; the language is assessed against its official reference [4].
Snapshot XSLT (3.0) — released 8 June 2017 · lifecycle current
Family XSLT — shelf: Data and Science
The language’s primary object is a dataset or a numeric array, not a program loop. A shelf groups; it does not classify — the tags below carry every use, paradigm, and platform of this snapshot.
Trajectory 1.0 (16 November 1999 — W3C Recommendation) · 3.0 (8 June 2017 — assessed release; the current Recommendation)
Tags
Use — Data and statistics
Paradigm — Declarative
Lifecycle — Current
Memory — Runtime-managed
Typing — Dynamic
Resources
The language’s official entry points, and the documents that name the release this page assesses. A link marked this release pins the document to XSLT (3.0); an unmarked link is the current reference for the language.
Landing page
Specification and reference
API documentation
Tutorial
1 Assessment
This page assesses XSLT in five parts: core coupling — what the language’s own constructs force; ecosystem coupling — what the surrounding platform, tooling, and community cost; engineering readiness — whether the artifact can be reproduced, verified, observed, worked in quickly, connected to other languages, and governed openly; the profile — the unscored facts a score cannot express; and the scoring detail — the mechanism marks and the arithmetic behind every score. A ✅ bullet marks a construct that helps. A ⚠️ or ❌ bullet marks a cost; the scoring model does not price every cost named here.
Core coupling 85.4/100 · Ecosystem coupling 84.4/100 · Engineering readiness 77.2/100
1.1 Core coupling
1.1.1 Type
- ❌ The data model is untyped by default: A template matches a node or an item, and a schema is opt-in (T1)
- ❌ There is no sum type: A sequence holds any items, and the match decides (T4)
- ❌ There are no generics (T5)
- ❌ An empty sequence is a value: Nothing in the type distinguishes absent from present (T10)
- ✅ A mode separates two transformations of one tree: The same rule can run under a named mode
1.1.2 Construction
- ✅ A template rule is the only construct: A match and a mode select the rule
- ✅ The output is built by a literal result element: The stylesheet states the result shape
1.1.3 Memory
- ✅ The data model is immutable: A node is never changed; a transformation builds a new tree
1.1.4 Error
- ✅
xsl:tryandxsl:catchgive a structured path: A recoverable error is caught by type - ⚠️ A recoverable error can be recovered silently: The processor may continue with a fallback
1.1.5 Concurrency
- ✅ There is no shared mutable state: A transformation is a function of its input
1.1.6 Platform
- ✅ The standard is public: XSLT 3.0 is a W3C Recommendation, and several processors implement it
- ✅ A stylesheet is portable: Saxon, libxslt, and a browser engine read the same source
1.1.7 Trade-offs (not coupling)
- A stylesheet is a function: The input tree in, the result tree out, no shared state
- The mode is the dispatch mechanism: Two rules for one node under different names
- The result is built, not mutated: The immutability is the safety and the copy cost
- The standard is the compatibility: A stylesheet runs where a processor is installed, and a 1.0 engine is the floor
1.2 Ecosystem coupling
1.2.1 Performance
- ❌ The stylesheet is compiled to the processor’s own form: That form is executed by the engine, and there is no path to machine code (R1)
- ⚠️ A naive template chain is slow: A recursive copy of a large tree is the classic cost
1.2.2 Ecosystem
- ❌ The processors fragment the language: XSLT 1.0, 2.0, and 3.0 support differ (Ec2)
- ❌ XSLT 1.0 remains in service: A 1999 stylesheet still runs in a browser (Ec7)
- ✅ A processor is a library: Saxon, libxslt, and the browser engine need no vendor
1.2.3 Evolution
- ❌ The standard moves slowly: XSLT 3.0 is from 2017, and a 4.0 has not arrived (V4)
- ✅ A version is declared in the stylesheet:
version="3.0"selects the rules
1.2.4 Domain
- ✅ The domain is document transformation: XML to HTML, to text, or to another XML
- ⚠️ JSON and a general program are out of scope: A transformation is not an application
1.2.5 Learning
- ✅ The declarative model is small: A match, a mode, and a template
- ⚠️ The recursion and the sequence model take time
1.2.6 Syntax
- ❌ The syntax is XML: Every instruction is an element (S1)
- ❌ The angle brackets dominate: A short stylesheet is long (S3)
1.2.7 Testing
- ✅ A processor reports a static error: A stylesheet is compiled before it runs
1.2.8 Security
- ⚠️ An extension function calls out of the sandbox: A processor can expose Java or C
1.2.9 Delivery targets
What ships from a producer to a consumer, and whether the interface across a release boundary is promised. Ec8 is present when one compiled target crosses with no promise.
| Target | Ships as | Crosses a producer boundary | Cross-release promise |
|---|---|---|---|
| script | script | no | The installed interpreter reads the source at run time; no compiled unit crosses a boundary |
1.3 Engineering readiness
1.3.1 Reproducibility
- ⚠️ There is no build: the stylesheet is the artifact the processor loads.
1.3.2 Supply chain
- ❌ There is no package registry: A stylesheet imports a module by URI, and nothing verifies it (Y3)
1.3.3 Observability
- ❌ There is no tracing standard: The processor’s message output is the only channel (Y5)
1.3.4 Feedback
- ❌ No debugger ships with a conforming processor; IDE debuggers are vendor features. (Y13)
1.3.5 Interop
- ✅ Extension functions reach the host language in process. (Y9)
- ✅ Any conforming processor runs the stylesheet. (Y10)
1.3.6 Governance
- ✅ The W3C maintains the recommendation in an open process. (Y11)
- ✅ XSLT 3.0 is a published W3C Recommendation. (Y12)
- ✅ libxslt and Saxon publish their source. (Y19)
1.4 Profile
Unscored, and kept separate from every score on purpose. The profile records what a mechanism price cannot express: what a running program costs, how well a coding model and an agent work in the language, and whether a safety-critical path exists.
1.4.1 Energy and cost
What this axis asks: what does a running program cost in energy and time?
- ⚠️ No independent energy or time benchmark for the language is recorded.
1.4.2 AI and agent readiness
What this axis asks: how well does a coding model and an agent work in this language?
- ❌ Sparse public training data: models write it less reliably than a mainstream language [5].
1.4.3 Safety certification
What this axis asks: is there a certified or standards-qualified path to a safety-critical system?
- ⚠️ No certified or standards-qualified path for safety-critical systems.
1.5 Scoring detail
1.5.1 Core coupling Dimensions
| Dimension | Mechanism | Description | Imposed by | Present | Weight |
|---|---|---|---|---|---|
| Type | T1 |
dynamic no static check | language | ✅ | −15 |
T2 |
weak static | language | — | 0 | |
T3 |
dynamic/duck dispatch | language | — | 0 | |
T4 |
no sum types | language | ✅ | −4 | |
T5 |
no generics | language | ✅ | −4 | |
T6 |
no namespaces | language | — | 0 | |
T7 |
type erasure/reflection | language | — | 0 | |
T8 |
operator overloading | language | — | 0 | |
T9 |
inheritance required for polymorphism | language | — | 0 | |
T10 |
no null-safety | language | ✅ | −8 | |
T11 |
no module boundary | language | — | 0 | |
T12 |
no effect tracking | language | ✅ | −8 | |
T13 |
async/sync colouring | language | — | 0 | |
T14 |
unchecked foreign boundary | language | ✅ | −4 | |
T15 |
chars are encoding units | language | — | 0 | |
| Type cost | −12.3 (−43) | ||||
| Construction | C1 |
global mutable state by default | language | — | 0 |
C2 |
no immutability by default | language | — | 0 | |
C3 |
constructors coupled to allocation | language | — | 0 | |
C4 |
no constructor/validation | language | — | 0 | |
C5 |
unpinned collection order | language | — | 0 | |
C6 |
aliasing by default | language | — | 0 | |
C7 |
undeclared control transfer | language | — | 0 | |
C8 |
no source-visible init order | language | — | 0 | |
| Construction cost | 0 | ||||
| Memory | M1 |
manual deallocation | runtime | — | 0 |
M2 |
GC non-deterministic pauses | runtime | — | 0 | |
M3 |
no RAII | language | — | 0 | |
M4 |
no ownership model | language | — | 0 | |
M5 |
uninitialized reads | language | — | 0 | |
M6 |
unchecked reinterpretation | language | — | 0 | |
Er6 |
uncatchable runtime fault | language | — | 0 | |
M7 |
reference cycles leak | runtime | — | 0 | |
| Memory cost | 0 | ||||
| Error | Er1 |
no structured path | language | — | 0 |
Er2 |
unchecked exceptions only | language | — | 0 | |
Er3 |
errors ignored/non-exhaustive | language | — | 0 | |
Er4 |
no composable result type | language | — | 0 | |
Er5 |
no isolation unit for a fault | runtime | — | 0 | |
| Error cost | 0 | ||||
| Concurrency | K1 |
GIL/no parallel | runtime | — | 0 |
K2 |
shared mutable state default | language | — | 0 | |
K3 |
manual sync no race detection | runtime | — | 0 | |
K4 |
no structured concurrency | language | — | 0 | |
K5 |
no primitives | language | — | 0 | |
K6 |
thread-per-task cost | runtime | — | 0 | |
| Concurrency cost | 0 | ||||
| Platform | P1 |
cannot function outside one vendor/domain | context | — | 0 |
P2 |
single-vendor but other uses | context | — | 0 | |
P3 |
legacy/discontinued platform | context | — | 0 | |
P4 |
poor domain fit | context | ✅ | −8 | |
| Platform cost | −2.3 (−8) |
Core coupling score: 85.4/100 — 51 of the 350 inventory points are present, so the axis cost is 100 × 51 ÷ 350 = 14.6 and the score is 100 − 14.6. Each dimension’s cost above is its share of the same denominator, and the raw weight sum follows in parentheses.
1.5.2 Ecosystem coupling Dimensions
| Dimension | Mechanism | Description | Imposed by | Present | Weight |
|---|---|---|---|---|---|
| Performance | R1 |
interpreted no AOT/JIT | runtime | ✅ | −8 |
R2 |
GC pauses | runtime | — | 0 | |
R3 |
JIT warmup | runtime | — | 0 | |
| Performance cost | −3.1 (−8) | ||||
| Ecosystem | Ec1 |
no package manager | context | — | 0 |
Ec2 |
fragmented tooling | context | ✅ | −8 | |
Ec3 |
small/niche/discontinued | context | — | 0 | |
Ec4 |
proprietary | context | — | 0 | |
Ec5 |
platform-locked tooling | context | — | 0 | |
Ec6 |
monoculture | context | — | 0 | |
Ec7 |
legacy burden | context | ✅ | −8 | |
Ec8 |
unpromised binary boundary | context | — | 0 | |
Ec9 |
unpromised data boundary | context | — | 0 | |
| Ecosystem cost | −6.2 (−16) | ||||
| Evolution | V1 |
breaking changes | language | — | 0 |
V2 |
frozen | context | — | 0 | |
V3 |
discontinued | context | — | 0 | |
V4 |
glacial standards | context | ✅ | −4 | |
V5 |
silent default drift | runtime | — | 0 | |
V7 |
build-variant state space | context | — | 0 | |
| Evolution cost | −1.6 (−4) | ||||
| Domain | D1 |
domain/vendor lock-in | context | — | 0 |
D3 |
framework forces architecture | context | — | 0 | |
| Domain cost | 0 | ||||
| Learning | L1 |
steep | context | — | 0 |
L2 |
large surface/multi-paradigm | context | — | 0 | |
L3 |
sparse docs | context | — | 0 | |
| Learning cost | 0 | ||||
| Syntax | S1 |
verbose | language | ✅ | −8 |
S2 |
inconsistent | language | — | 0 | |
S3 |
punctuation-heavy | language | ✅ | −4 | |
| Syntax cost | −4.7 (−12) | ||||
| Testing | G1 |
weak tooling | context | — | 0 |
G2 |
poor debugging | context | — | 0 | |
G3 |
runtime-only errors | context | — | 0 | |
G4 |
no published monotonic clock | runtime | — | 0 | |
| Testing cost | 0 | ||||
| Security | Q1 |
memory-unsafe | language | — | 0 |
Q2 |
dynamic/weak typing risk | language | — | 0 | |
Q3 |
known vulnerability/injection | context | — | 0 | |
Q4 |
silent integer overflow | language | — | 0 | |
| Security cost | 0 |
Ecosystem coupling score: 84.4/100 — 40 of the 256 inventory points are present, so the axis cost is 100 × 40 ÷ 256 = 15.6 and the score is 100 − 15.6. Each dimension’s cost above is its share of the same denominator, and the raw weight sum follows in parentheses.
1.5.3 Engineering readiness Dimensions
| Dimension | Mechanism | Description | Imposed by | Present | Weight |
|---|---|---|---|---|---|
| Reproducibility | Y1 |
build not reproducible | context | — | 0 |
Y2 |
dependencies not pinned | context | — | 0 | |
Y14 |
no toolchain version pin | context | — | 0 | |
Y18 |
no machine-read project contract | context | — | 0 | |
| Reproducibility cost | 0 | ||||
| Supply chain | Y3 |
no signed provenance | context | ✅ | −15 |
Y4 |
registry without namespacing | context | — | 0 | |
Y16 |
no advisory feed | context | ✅ | −8 | |
| Supply chain cost | −13.5 (−23) | ||||
| Observability | Y5 |
no stable tracing standard | context | ✅ | −8 |
Y6 |
no structured logging | context | — | 0 | |
Y15 |
no post-mortem diagnostics | runtime | — | 0 | |
| Observability cost | −4.7 (−8) | ||||
| Feedback | Y7 |
slow build | context | — | 0 |
Y8 |
no fast in-editor analysis | context | — | 0 | |
Y13 |
no bundled debugger | context | ✅ | −8 | |
| Feedback cost | −4.7 (−8) | ||||
| Interop | Y9 |
no foreign-function interface | language | — | 0 |
Y10 |
no portable target | context | — | 0 | |
| Interop cost | 0 | ||||
| Governance | Y11 |
single-vendor governance | context | — | 0 |
Y12 |
closed specification | context | — | 0 | |
Y17 |
no conformance mechanism | context | — | 0 | |
Y19 |
no published parser | context | — | 0 | |
| Governance cost | 0 |
Engineering readiness score: 77.2/100 — 39 of the 171 inventory points are present, so the axis cost is 100 × 39 ÷ 171 = 22.8 and the score is 100 − 22.8. Each dimension’s cost above is its share of the same denominator, and the raw weight sum follows in parentheses.
Verdict: XSLT is a declarative transformation language: immutable trees, template rules, modes, and a structured try make a transformation a function of its input, and the standard is public. What it charges is the untyped data model, the absent sum type, the empty sequence, the XML syntax, and a standard that has not moved since 2017. Main strength: a pure transformation with no shared state. Main weakness: the type model is weak, and the processors disagree at the edges.
The formal development. The definitions, theorems, and proofs behind this page are published in:
- On the Nature of Coupling: All Coupling as Shared Resource Access — Zenodo, 2026 — doi:10.5281/zenodo.21925122
- Coupling as a Consequence of Cohesion: Decomposition, the Coupling Floor, and Domain-Imposed Coupling — Zenodo, 2026 — doi:10.5281/zenodo.21925201
- On the Nature of Cohesion: Cohesion as Correctness Relative to a Partitioning Rule — Zenodo, 2026 — doi:10.5281/zenodo.21703193