XALAN(1)

πŸ“¦
version 1.12.0 Β· 2 versions
, in epel 10, epel 9, fedora 43, fedora 44

✨ NAME ✨

Xalan πŸ¦‹ okay so this is the manual name, and it's giving XSLT transformer energy. Xalan is how you transform XML documents using a stylesheet πŸ’–


🌸 SYNOPSIS 🌸

Xalan [OPTIONS] source stylesheet

Bestie, that's the whole vibe: Xalan, then your options, then the source and the stylesheet. Simple, clean, iconic πŸ’…


πŸ’œ DESCRIPTION πŸ’œ

Okay so Xalan takes your XML documents and runs them through a stylesheet that follows the XSLT 1.0 standards. Main character energy, no cap πŸ‘‘


πŸŽ€ OPTIONS πŸŽ€

Lowkey the most important bit: a dash (-) as the source argument means Xalan reads from stdin 🧚 Just don't use - for both arguments, that's a no-go πŸ’€

  • -a β€” Ooh, this one tells Xalan to use the xml-stylesheet PI instead of the stylesheet argument 🫢
  • -e encoding β€” Forces the output to use the encoding you specify 🌈
  • -i integer β€” Sets the indent to the amount you give it πŸ“
  • -m β€” Leaves out the META tag in HTML output. Bye bye, META πŸ‘‹
  • -o filename β€” Writes the output into the file you name, instead of the usual spot πŸ“„
  • -p name expression β€” Sets a stylesheet parameter, so you can pass in your own values ✨
  • -t β€” Shows timing info. Ngl, it's giving stopwatch πŸ”₯
  • -u β€” Turns off escaping of URLs in HTML output πŸ¦‹
  • -? β€” Pulls up a help message when you're lost, iykyk πŸ™ˆ
  • -v β€” Validates your source documents. Quality check, periodt πŸ’…

Heads up bestie: the -u option turns OFF URL escaping, so only use it if you know what you're doing with those URLs 😭

Sooo that's the whole page! Shoutout to the Xalan manual, April 2024 β­πŸŒˆπŸ’–

πŸ“¦ where this page comes from