This plugin formats the selected XML content by breaking only in element tags and never in text. Example:

After installing the plugin it can be accessed through the editor's contextual menu by choosing Plugins->Format with text preserve.

Input:
	<root><a><b></b><c></c></a></root>
Result:
	<root
><a
><b
></b
><c
></c
></a
></root
>