Expand description
XML structured processor.
The CLI uses process_to_edits: it walks
the document with quick-xml and replaces each matched element-text and
attribute value at its exact source span, preserving structure, comments, and
the entity encoding of unrelated content (entity-encoded values are hit as
written, so they never leak). process re-serializes via the quick-xml
writer as a fallback.
§Key Paths
Element paths are slash-separated: database/password. Attributes
are expressed as element/@attr (e.g. connection/@host).
For simplicity this processor tracks the element stack and matches text content of elements and attribute values against field rules.
Structs§
- XmlProcessor
- Structured processor for XML files.