I've opened an XML file in emacs, and it's the output from a web request so it's just in one long line. Can I execute a command to format it into a tree structure?
Mark the region you want to format and call M-x sgml-pretty-print
This is a collaboratively edited question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.
Got a question about the site itself? meta is the place to talk about things like what questions are appropriate, what tags we should use, etc.
about » faq » meta »
tagged
asked
2 years ago
viewed
130 times
active
Get the weekly newsletter!
see an example newsletter