Getting Started with DomTrip

Welcome to DomTrip! This section will help you get up and running with DomTrip's XML processing capabilities.

What is DomTrip?

DomTrip is a modern Java XML processing library that focuses on lossless parsing and formatting preservation. Unlike traditional XML libraries that lose formatting information during parsing, DomTrip preserves:

  • Whitespace (spaces, tabs, newlines)
  • Attribute quote styles (single vs double quotes)
  • Comment positioning
  • Element formatting
  • Document structure

This makes DomTrip perfect for scenarios where you need to edit XML files while maintaining their original formatting.

Quick Start Guide

Installation

Learn how to add DomTrip to your project using Maven, Gradle, or other build tools.

Quick Start

Jump right in with a simple example that demonstrates DomTrip's core capabilities.

Basic Concepts

Understand the fundamental concepts and architecture of DomTrip.

Why Choose DomTrip?

Lossless Round-Trip Editing

Edit XML files without losing any formatting information.

Intuitive API

Clean, fluent API that's easy to learn and use.

Formatting Preservation

Maintain the original look and feel of your XML documents.

Modern Java

Built for modern Java applications with clean, type-safe APIs.

Next Steps

  1. Install DomTrip in your project
  2. Try the Quick Start example
  3. Learn the Basic Concepts
  4. Explore the API Reference
  5. Check out Examples

Need Help?

Ready to get started? Head over to the Installation guide to add DomTrip to your project!