Ordinary wrappers can nest; quoted regions are opaque and honor escapes so a delimiter inside a string does not close an outer pair. Nodes expose their outer span, interior, delimiters, direct content, and nested relationships. The XML selector offers another view for tags and attributes. Strict matching is the default; tolerant mode is explicit.

Selections are ranges, not destructive edits. Direct content can consist of several fragments around nested children. Composing those fragments creates a new mapped view; it does not silently claim that the removed nested region never existed. The next projection then runs over the selected view and can still report positions in the original source.

textwrap source.txt /input:file /q:'wrap[name=round]:inner > indent[has=return]:subtree' /plain