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 0 status

All sub-modules are scaffolded. Implementation begins in Phase 8 (§85):

  • 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 and external document loading (§33, §85 Phase 8).
errors
XSLT error handling (§33, §85 Phase 8).
extensions
XSLT extension mechanism (§33, §85 Phase 8).
imports
XSLT import/include handling (§33, §85 Phase 8).
keys
XSLT key handling (§33, §85 Phase 8).
namespace_alias
XSLT namespace aliasing (§33, §85 Phase 8).
numbering
XSLT numbering (§33, §85 Phase 8).
parameters
XSLT parameter handling (§33, §85 Phase 8).
patterns
XSLT pattern matching (§33, §85 Phase 8).
security
XSLT security preferences (§33, §85 Phase 8).
serialization
XSLT output serialization (§33, §85 Phase 8).
sorting
XSLT sorting (§33, §85 Phase 8).
stylesheet
XSLT stylesheet representation (§32, §85 Phase 8).
templates
XSLT template matching and execution (§33, §85 Phase 8).
transform
XSLT transform engine (§33, §85 Phase 8).
variables
XSLT variable handling (§33, §85 Phase 8).
whitespace
XSLT whitespace stripping/preservation (§33, §85 Phase 8).