Skip to main content

Module xslt

Module xslt 

Source
Expand description

libxslt implementation — native Rust (§1, §3, §31–§34).

This module contains the complete native-Rust implementation of libxslt’s observable behavior: stylesheet compilation, transform engine, templates, patterns, variables, parameters, keys, attributes, namespace aliasing, whitespace stripping, sorting, numbering, documents, imports, extensions, serialization, security, errors.

The XSLT engine operates exclusively on the Rust libxml implementation (src/xml), never on upstream C libxml2 (§31).

§Phase 8 status

Complete: the full XSLT 1.0 engine is implemented and court-tested.

  • Phase 8: libxslt core (stylesheet compilation, patterns, templates, imports/includes, variables, parameters, keys, sorting, numbering, output, extensions, transform runtime)
  • Phase 9: EXSLT + xsltproc

See atlas/PARITY_MATRIX.md for current status.

Modules§

attributes
XSLT attribute sets (§33, §85 Phase 8).
compiler
XSLT stylesheet compilation (§32, §85 Phase 8).
documents
XSLT document() function support (§33, §85 Phase 8).
errors
XSLT error handling (§33, §85 Phase 8).
extensions
XSLT extension mechanisms (§33, §35, §85 Phase 8).
imports
XSLT imports and includes (§32, §85 Phase 8).
keys
XSLT keys and the key() function (§33, §85 Phase 8).
namespace_alias
XSLT namespace aliasing (§33, §85 Phase 8).
numbering
XSLT numbering (§33, §85 Phase 8).
parameters
XSLT parameter management (§33, §85 Phase 8).
patterns
XSLT pattern matching (§33, §85 Phase 8).
security
XSLT security preferences (§33, §85 Phase 8; R-000125 closure).
serialization
XSLT result serialization (§33, §85 Phase 8).
sorting
XSLT sorting (§33, §85 Phase 8).
stylesheet
XSLT stylesheet representation and lifecycle (§32, §85 Phase 8).
templates
XSLT template representation and matching (§33, §85 Phase 8).
transform
XSLT transformation engine (§33, §85 Phase 8).
variables
XSLT variable and parameter binding (§33, §85 Phase 8).
whitespace
XSLT whitespace stripping (§33, §85 Phase 8).