PureXML/Sources/XSLT
Mihaela Mihaljevic 255f7508fd feat(xslt): literal result element namespace copying
A literal result element copies its in-scope namespace declarations to
the result per 7.1.1, minus the XSLT namespace and the namespaces of
prefixes listed in exclude-result-prefixes and
extension-element-prefixes in scope (#default included); an aliased
stylesheet namespace declares its result prefix and URI instead. The
fixup pass drops declarations that repeat an inherited binding so the
copied nodes do not redeclare per descendant, and created names reuse
stylesheet prefixes. xsl:output indent=yes switches to the Xalan
indentation form (own lines, no leading spaces). Xalan baseline
446 -> 371 (namespace 89 -> 42).
2026-06-10 12:55:48 +02:00
..
XSLTAVT.swift feat(xslt): implement xsl:namespace-alias, completing #81 2026-06-09 02:10:16 +02:00
XSLTDocumentCache.swift feat(xslt): full xsl:number engine and stable document() identity 2026-06-10 12:37:03 +02:00
XSLTElements.swift feat(xslt): literal result element namespace copying 2026-06-10 12:55:48 +02:00
XSLTFunctions.swift feat(xslt): literal result element namespace copying 2026-06-10 12:55:48 +02:00
XSLTMatchCache.swift perf(xpath): compile patterns once per run, not per node 2026-06-10 03:24:38 +02:00
XSLTModel.swift feat(xslt): literal result element namespace copying 2026-06-10 12:55:48 +02:00
XSLTNamespaceFixup.swift feat(xslt): literal result element namespace copying 2026-06-10 12:55:48 +02:00
XSLTNumbering.swift feat(xslt): full xsl:number engine and stable document() identity 2026-06-10 12:37:03 +02:00
XSLTParser.swift feat(xslt): literal result element namespace copying 2026-06-10 12:55:48 +02:00
XSLTParserStructural.swift feat(xslt): literal result element namespace copying 2026-06-10 12:55:48 +02:00
XSLTRuntime.swift feat(xslt): implement xsl:apply-imports 2026-06-09 01:49:33 +02:00
XSLTTransform.swift feat(xslt): namespaced name creation, copy attribute sets, result fixup 2026-06-10 12:10:48 +02:00
XSLTTransformer.swift feat(xslt): literal result element namespace copying 2026-06-10 12:55:48 +02:00
XSLTWhitespace.swift feat(xslt): implement xsl:strip-space and xsl:preserve-space 2026-06-09 01:22:59 +02:00