🔍 #XPath is a full subsystem: typed results, fluent expression and predicate builders, compiled and LRU-cached expressions, variable binding, namespace auto-detection and custom PHP functions callable from XPath
🧭 XmlCursor offers token-level navigation, in-place editing, structural changes and bookmarks. Schema support includes restriction, extension, sequence/choice/all, xs:any, import/include and nillable elements