- Does the formatter preserve CDATA and comments?
- Yes — CDATA blocks, processing instructions, and comments are kept intact and re-indented to match the surrounding tree. Only whitespace between tags changes.
- Will it validate my XML?
- No. The formatter works on any XML-shaped text, even invalid documents — useful for inspecting broken templates. Use the XML Validator for strict parsing.
- What about namespaces?
- Namespaces (`xmlns:`) are preserved exactly as written. The formatter does not collapse or resolve prefixes.
- Does it change attribute quoting?
- Normalizes to double quotes by default (the XML standard preference). Toggle 'preserve quotes' to keep single quotes where you used them.