Use the exact source `<?xml version="1.0"?><catalog><item id="1"><name>Desk lamp</name><price currency="EUR">24.90</price></item></catalog>` and choose Format XML with two spaces.

Expected formatted output

The XML declaration occupies the first line. Catalog opens on the second line, item is indented by two spaces, and name and price by four. Their direct character data remains on the same line as its tags. Item closes with two spaces, and catalog closes without indentation. The exact values `Desk lamp`, `EUR`, and `24.90`, both attribute orders, quotes, and tag names remain unchanged.

Expected evidence

The parsed document reports four elements, two attributes, maximum depth three, zero namespace declarations, comments, CDATA sections and processing instructions, and an XML declaration present. Choosing Minify on the formatted result returns the original single-line source. Those figures describe this syntax tree only and do not validate the catalog vocabulary or currency value.

Reproduce it in the tool

Open the formatter, paste the complete input exactly as printed, keep two-space indentation, and choose Format XML. Compare every line with the expected output before copying or downloading it. Then choose Check only to see that the evidence comes from the parsed document rather than from the formatting view. The example contains no private endpoint or operational identifier and makes no request to example.com or any other host.