DomTrip

Lossless XML Editing for Java

Get Started - 5min ⏱️
⟲⟳

Lossless Round-Trip

DomTrip preserves every detail of your XML: comments, whitespace, entity encoding, attribute quote styles, and formatting. Parse and serialize with zero information loss.

</>

Easy Editing with Formatting Preservation

Make changes to your XML while keeping the original formatting intact. Only modified sections are reformatted, using intelligent indentation inference for new content.

Modern Java API

Built for Java 17+ with fluent builders, Stream-based navigation, comprehensive namespace support, and type-safe configuration. Clean, intuitive API that feels natural.

🏗️

Maven Ecosystem Support

Specialized editors for POM, settings.xml, extensions.xml, and toolchains.xml files with Maven-aware element ordering, intelligent formatting, and convenience methods. Complete Maven tooling support.