Expand a nested element with two-space indentation
Example input
<root><item>2</item></root>Expected result
<root>
<item>2</item>
</root>Select formatting with two-space indentation. The inner item appears beneath root and retains its text value. XML does not automatically make that value an integer; its type depends on a separate schema or application contract. Inspect mixed text and element content carefully before replacing a source document with a reformatted copy.