XMLTRIP.NATIVE(1)

πŸ’– XMLTRIP.NATIVE(1) πŸ’–

okay bestie, gather round, because this is xmltrip.native, a lil User Command that does a whole XML round trip β€” it parses XML files and then prints them right back out. yes, it's giving glow-up machine for markup. πŸ¦‹


✨ NAME ✨

xmltrip.native β€” XML round trip: parses XML files and prints them


🌸 SYNOPSIS 🌸

xmltrip.native <options> <files>

πŸ’… DESCRIPTION πŸ’…

She reads your xml files and outputs them on stdout. simple as that, no cap. 🫢

and here are the options, all of them, every single one, because we do not skip options in this house:

  • -enc <enc> β€” use the specified encoding, bestie. your choices are utf-8, utf-16, utf-16be, utf-16le, iso-8859-1, ascii. and if you don't pick one? she guesses. (otherwise guesses.) πŸ”
  • -strip β€” strip and collapse white space in character data. bye bye extra spaces. πŸ’€
  • -ns β€” replace unbound namespaces prefixes by themselves (on input and output). both ways, periodt.
  • -eref β€” replace unknown entity references by their name. iconic behavior honestly.
  • -xhtml β€” resolve XHTML character entities. yes queen, handle those for me. ✨
  • -p β€” parse only, no output. just vibes. no printing.
  • -t β€” build document tree in memory. 🌳 main character energy.
  • -signals β€” outputs the stream of signals instead of xml (excludes -t). note that: it excludes -t, so don't even try it together.
  • -ot β€” output document ascii outline instead of xml. a lil outline, a lil summary moment.
  • -indent β€” indent xml output. make it pretty, make it readable. πŸŽ€
  • -trip <suffix> β€” result for file <file> is output to a file <file.suffix>. so like, she writes it out next to it with your suffix glued on. slay.
  • -help β€” Display this list of options
  • --help β€” Display this list of options
ngl, -signals and -t are NOT a compatible duo. -signals excludes -t. that's the rule, fr fr. 🚫

🧚 a lil sign-off 🧚

this was xmltrip.native version 1.2.0, from February 2022. go forth and round-trip your XML, bestie, you're gonna ate. πŸ’œπŸŒΈπŸ‘‘

πŸ“¦ where this page comes from