Altova XMLSpy 2025 Enterprise Edition

Icon

 

Icon:

icPrettyPrint

 

Description

The Pretty-Print command re-formats the text formatting of your XML or JSON document. The formatting properties are specified in the Pretty Printing settings of the Options dialog (Tools | Options). The indentation of text is specified in the Text View Settings dialog (View | Text View Settings).

 

Note the following points

 

The XML document must be well-formed for this command to work.

Pretty-printing adds spaces or tabs to the document when the document is saved.

To remove all whitespace (new lines and indentation) created with the Pretty-Print command, use the Strip Whitespaces command.

 

© 2018-2024 Altova GmbH