PureXML/Sources
Mihaela Mihaljevic 15de0c5344 feat(model): mutable parent-aware tree (libxml2 tree.h parity)
Add PureXML.Model.TreeNode, a reference-type document tree that knows its
parent and siblings. Navigation goes up and sideways (parent, nextSibling,
previousSibling, ancestors, root, elementChildren, stringValue) and editing
is in place (append, insert before/after, removeFromParent, replace, copy).
Children are held strongly and the parent weakly; attaching a node detaches
it from any prior parent and a node can never become its own ancestor.
parseTree builds one from XML; TreeNode.node converts back for serialization.

Closes #31
2026-06-08 03:13:59 +02:00
..
Emitting feat(emit): XML declaration save-option parity 2026-06-08 02:57:27 +02:00
Model feat(model): mutable parent-aware tree (libxml2 tree.h parity) 2026-06-08 03:13:59 +02:00
Parsing feat(dtd): external and parameter entities, secure by default 2026-06-08 03:08:20 +02:00
Stream chore: scaffold PureXML pure-Swift XML package 2026-06-07 23:20:20 +02:00
Validation feat(validation): add DTD ID/IDREF/IDREFS validation 2026-06-08 02:13:11 +02:00
XPath feat(xpath): add an XPath 1.0 location-path subset 2026-06-08 01:32:23 +02:00
API.swift feat(model): mutable parent-aware tree (libxml2 tree.h parity) 2026-06-08 03:13:59 +02:00
PureXML.swift feat(xpath): add an XPath 1.0 location-path subset 2026-06-08 01:32:23 +02:00