Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsHow to indent/reformat XML/XSD tags according to their hierarchy level?
https://www.eclipse.org/forums/index.php/mv/msg/190527/604453/#msg_604453
For each level 2 blanks should be inserted at the beginning of a line..
How can I achieve this pretty print?
Ben]]>Ben Stover2010-01-22T13:31:35-00:00Re: How to indent/reformat XML/XSD tags according to their hierarchy level?
https://www.eclipse.org/forums/index.php/mv/msg/190527/604460/#msg_604460
Have a look at how XSDResourceImpl.doSerialize does that.
Ben wrote:
> Sometimes I would like to re-format a given XML/XSD file so that the
> tags indented according to their hierarchy level.
> For each level 2 blanks should be inserted at the beginning of a line..
>
> How can I achieve this pretty print?
>
> Ben]]>Ed Merks2010-01-22T13:43:01-00:00