equal
deleted
inserted
replaced
46 |
46 |
47 With xmllint:: |
47 With xmllint:: |
48 |
48 |
49 $ xmllint --format file.xml |
49 $ xmllint --format file.xml |
50 |
50 |
51 or in Emacs:: |
51 Pretty print XMLs in place:: |
|
52 |
|
53 for f in *.xml; do xmllint -o $f --format $f; done |
|
54 |
|
55 In Emacs:: |
52 |
56 |
53 : C-x h C-u M-| xmllint --format - <RET> |
57 : C-x h C-u M-| xmllint --format - <RET> |
54 |
58 |
55 With Emacs and nxml you need introduce line-breaks and then:: |
59 With Emacs and nxml you need introduce line-breaks and then:: |
56 |
60 |