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
- Install DomTrip in your project
- Try the Quick Start example
- Learn the Basic Concepts
- Explore the API Reference
- Check out Examples
Need Help?
- API Documentation - Complete Javadoc reference
- Examples - Practical code examples
- Feature Overview - Detailed feature descriptions
Ready to get started? Head over to the Installation guide to add DomTrip to your project!