Skip to content
Snippets Groups Projects
Commit bd6d584e authored by Rolf Niepraschk's avatar Rolf Niepraschk
Browse files

"pretty_c14n.py"

parent 1f1b0aae
No related branches found
No related tags found
No related merge requests found
...@@ -115,11 +115,17 @@ via the requested tar stream: ...@@ -115,11 +115,17 @@ via the requested tar stream:
curl -s http://localhost:5006/version curl -s http://localhost:5006/version
``` ```
## More hints ## More hints
Canonicalization and prettifying:
```bash
./pretty_c14n.py before.xml after.xml
```
Pretty printing the xml code: Pretty printing the xml code:
``` ```bash
cat foo.xml | tidy -xml --indent auto --indent-cdata yes --quiet yes \ cat foo.xml | tidy -xml --indent auto --indent-cdata yes --quiet yes \
--wrap 0 --tab-size 2 - > bar.xml --wrap 0 --tab-size 2 - > bar.xml
``` ```
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment