Skip to main content

Indent a compact XML stock feed

Make repeated records in a single-line feed easier to inspect.

Set up the example

Format the XML and follow the nesting from stock to record to sku.

Check the result

There should still be three record elements, each with one sku. Compare the units for B04 with the source.

Run this task

Use your own file or download the practice input below. The checks on this page describe the practice result.

Continue with a related task

Open XML Validator · Browse all file tasks