Pretty printing XML files on Emacs

You don’t even need to write your own function – sgml-mode (a gnu emacs core module) has a built-in pretty printing function called (sgml-pretty-print …) which takes region beginning and end arguments.

If you are cutting and pasting xml and you find your terminal is chopping the lines in arbitrary places you can use this pretty printer which fixes broken lines first.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)