Compact an indented XML stock feed
Prepare a small transfer copy of a structured feed with whitespace between its elements.
Set up the example
Minify the practice XML. Inspect the value of the item element containing Pens, blue.
Check the result
The three record elements should remain separate. Spaces inside the item text should remain readable.
Run this task
Use your own file or download the practice input below. The checks on this page describe the practice result.