From bd6d584e12347f4555b1adfec26830b2be30072f Mon Sep 17 00:00:00 2001 From: Rolf Niepraschk <Rolf.Niepraschk@ptb.de> Date: Tue, 1 Dec 2020 14:18:08 +0100 Subject: [PATCH] "pretty_c14n.py" --- README.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 421aaa1..dfa9a6d 100644 --- a/README.md +++ b/README.md @@ -115,11 +115,17 @@ via the requested tar stream: 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: -``` +```bash cat foo.xml | tidy -xml --indent auto --indent-cdata yes --quiet yes \ --wrap 0 --tab-size 2 - > bar.xml ``` -- GitLab