xsec-c14n.pod(1)
π xmlsec-c14n β Canonicalize an XML file π
okay so bestie, meet xmlsec-c14n, a lil command-line queen from the xsec-c14n.pod manual page who takes your XML and canonicalizes it. she's giving main character energy, she's lowkey a W3C stan, and she is so ready to fix your whitespace drama. β¨
π¦ SYNOPSIS π¦
xmlsec-c14n [-n] [-x] [-1.1] [-id id] input
that's it. that's the whole vibe. one input, a few lil flags, and canon goes the XML. π
πΈ DESCRIPTION πΈ
xmlsec-c14n canonicalizes an XML document following the W3C Canonical XML Recommendation. no cap.
by default it uses version 1.0, but bestie, you have options:
- it can use version 1.1 if you pass the
-1.1flag - and it can do Exclusive XML Canonicalization 1.0 if you pass the
-xflag
the source XML document gets read from the provided input file, and the canonicalized version gets written to standard output. iconic behaviour, honestly. it reads, it slays, it prints. π
β¨ OPTIONS β¨
β οΈ real talk bestie: each option must be given as a separate argument. no smooshing them together. she's not about that life.
-nβ do not include XML comments in the output. bye bye commentary, we only want the canonicalized facts. π-xβ canonicalize to the Exclusive XML Canonicalization 1.0 Recommendation instead of the default. exclusive, as she should be. π-1.1β canonicalizae to the Canonical XML 1.1 Recommendation instead of the default. (yes, the manpage itself says "canonicalizae" and honestly? we respect the typo. it's part of her charm. π)-id idβ rather than canonicalizing the entire input document, canonicalize and output only the subtree rooted at the node identified by id. so if you don't need the whole tree, just that one branch, this is your girl. πΏ
π«Ά AUTHOR π«Ά
this manual page was written by Russ Allbery for Debian. we love a documented legend. π
π MANUAL LICENSE π
the authors hereby relinquish any claim to any copyright that they may have in this work, whether granted under contract or by operation of law or international treaty, and hereby commit to the public, at large, that they shall not, at any time in the future, seek to enforce any copyright in this work against any person or entity, or prevent any person or entity from copying, publishing, distributing or creating derivative works of this work.
(translation: it's free, fr fr. copy it, publish it, remix it, make derivative works, nobody's coming for you. public domain vibes, no cap. ποΈ)
and that's the whole page, bestie!! this was version 3.0.0, dated 2025-01-11, straight from the xsec-c14n.pod(1) manual. go canonicalize something gorgeous. mwah. π
β¨ππ¦πΈπ
π¦ where this page comes from
- debian trixie: xml-security-c-utils 3.0.0-2 Β· Apache-2.0
- ubuntu questing: xml-security-c-utils 3.0.0-2
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms