PureXML/Sources/PureXML.swift
Mihaela Mihaljevic 96eb85f1fc feat(xslt): stylesheet model and parser
Add the PureXML.XSLT namespace with a stylesheet model (template rules with
match patterns and computed default priorities, the instruction sequence
constructor, attribute value templates) and a parser compiling an
xsl:stylesheet document into it. Recognizes the XSLT vocabulary by namespace
or xsl prefix; other elements become literal result elements. Covers
apply-templates, value-of, for-each, if, choose, element, attribute, copy,
copy-of, call-template, variable, text, and sort.

Closes #14
2026-06-08 06:57:11 +02:00

52 lines
1.3 KiB
Swift

/// Root namespace for the PureXML package.
public enum PureXML {
/// XML document model types.
public enum Model {}
/// XML parsing types.
public enum Parsing {}
/// XML emitting types.
public enum Emitting {}
/// XML typed decoding types.
public enum Decoding {}
/// XML typed encoding types.
public enum Encoding {}
/// XML validation types.
public enum Validation {}
/// XML stream types.
public enum Stream {}
/// XPath query types.
public enum XPath {}
/// Streaming pattern types (the libxml2 `pattern.h` XPath subset).
public enum Pattern {}
/// XPointer fragment-identifier types (the `element()` and `xpointer()`
/// schemes over XPath).
public enum XPointer {}
/// OASIS XML Catalog types (resolving public/system identifiers to URIs).
public enum Catalog {}
/// XInclude processing, URI reference resolution, and `xml:base`.
public enum XInclude {}
/// Canonical XML (C14N) serialization types.
public enum Canonical {}
/// Regular-expression types (the XML Schema regex flavor).
public enum Regex {}
/// XML Schema (XSD) and RELAX NG validation types.
public enum Schema {}
/// XSLT 1.0 transformation types.
public enum XSLT {}
}