Skip to main content

ralph_workflow/rendering/
xml_pretty.rs

1//! XML pretty-printing for debugging/fallback display.
2//!
3//! For user-facing output, prefer using `UIEvent::XmlOutput` which routes
4//! through the semantic renderers. This formatter is for:
5//! - Debugging/logging where raw XML structure is needed
6//! - Fallback rendering when semantic parsing fails
7//! - Tests that verify XML structure
8//!
9//! # Architecture Note
10//!
11//! The implementation lives in `files::llm_output_extraction` to avoid
12//! dependency cycles. This module provides the canonical import path
13//! under `rendering`.
14
15pub use crate::files::llm_output_extraction::format_xml_for_display;