Subject:Indent XML Tags only partially working Author:Mike Prager Date:04 Jan 2013 11:28 AM
I have an XML file that we get from a customer. If I indent XML tags, everything works apart from lines where there is an element with text in it. For these lines, all elements after this one appear on the same line and are not indented i.e.
<Node>Some text in here<ThenAnotherNode>Something</ThenAnotherNode><AnAnotherNode>WithSomething</AnAnotherNode></Node>
when indented,everything from <Node> onwards is not indented whereas if I remove the text, it works fine,