XALAN(1)
π XALAN β the manual page, but make it make sense
okay bestie, this is the xalan page from the General Commands Manual (section 1, the command section, iykyk). sit down, grab a strawberry π, and let's get into it.
β¨ NAME β¨
xalan β process XML documents with XSLT stylesheets. that's the whole vibe. XML goes in, a stylesheet does its thing, something new comes out. iconic behavior, honestly.
π SYNOPSIS π
xalan [options]
that's it. that's the whole thing. options only, no positional args, no cap.
π¦ DESCRIPTION π¦
so. Xalan-C++ β named after a rare musical instrument, which is such a main character name, we love that for it β implements the W3C Recommendation 16 November 1999 XSL Transformations (XSLT) Version 1.0 and the XML Path Language (XPath) Version 1.0. periodt.
XSLT is the first part of the XSL stylesheet language for XML. it includes the XSL Transformation vocabulary and XPath, which is a language for addressing parts of XML documents. so basically: one language to say what you want, another to say where it lives. π
for links to background materials, discussion groups, frequently asked questions, and tutorials on XSLT, see Getting up to speed with XSLT.
you use the XSLT language to compose XSL stylesheets. an XSL stylesheet contains instructions for transforming XML documents from one document type to another document type β could be XML, HTML, or other, we're flexible like that. π
in structural terms (get ready, this part is lowkey gorgeous): an XSL stylesheet specifies the transformation of one tree of nodes (the XML input) into another tree of nodes (the output, aka the transformation result). tree in, tree out. glow up achieved. πΈ
π₯ OPTIONS π₯
β οΈ heads up bestie: options are case-sensitive.-vand-Vare NOT the same girl. be careful.
-inURL β sets the input URL. if you don't set anything,stdinis used. no input? it'll just read from standard in, nbd.-xslURL β sets the XSLT sheet URL. this is your stylesheet, your blueprint, your little instruction manual.-outfile β sets the output filename.-vβ show version information only. just the version, that's it, that's all it does.-qcβ quiet pattern conflicts warnings. shhh. π€«-qβ use quiet mode.-indentn β controls how many spaces to indent. default is0. (zero. no spaces. it's giving minimalist.)-validateβ controls whether validation occurs. validation is off by default.-ttβ trace the templates as they are being called.-tgβ trace each generation event.-tsβ trace each selection event.-ttcβ trace the template children as they are being processed.-xmlβ use XML formatter and add XML header.-textβ use simple Text formatter.-htmlβ use HTML formatter.-domβ use DOM formatter. formats to DOM, then formats XML for output.-xstβ use source tree formatter. formats to Xalan source tree, then formats XML for output.-paramname expression β sets a stylesheet parameter.-xdβ use Xerces DOM instead of Xalan source tree.-deβ disable built-in extension functions.
π the picky ones (options that only work with a specific formatter)
the following option is valid only with -HTML:
-noindentβ turn off HTML indenting.
the following option is valid only with -XML:
-nhβ don't write XML header.
π AUTHOR π
The Apache Software Foundation. (the whole foundation. all of them. π )
β SEE ALSO β
http://www.w3.org/TR/xsltβ XSL Transformations Version 1.0 (XSLT)http://www.w3.org/TR/xpathβ XML Path Language Version 1.0 (XPATH)
go read them, they're free, and they're the receipts for everything above. π«Ά
π COPYRIGHT π
Copyright (c) 1999-2012 The Apache Software Foundation
This product includes software developed at The Apache Software Foundation ( http://www.apache.org/ ).
This software is based on the ASF XERCES-C project.
Portions of this software were originally based on the following:
- software copyright (c) 1999, IBM Corporation. (
http://www.ibm.com).
As of version 1.8, Xalan is now distributed under the Apache license v2.0.
π§ and that's the whole page, bestie. go forth and transform some trees. β¨
shoutout to the Debian GNU/Linux crew β this page is dated 2001, and it lives in section XALAN(1). mwah. π
π¦ where this page comes from
- debian bookworm: xalan 1.12-7 Β· Apache-2.0
- debian trixie: xalan 1.12-8 Β· Apache-2.0
- ubuntu jammy: xalan 1.12-6build1 Β· Apache-2.0
- ubuntu noble: xalan 1.12-7.1build2 Β· Apache-2.0
- ubuntu questing: xalan 1.12-7.1ubuntu1
- ubuntu resolute: xalan 1.12-12 Β· Apache-2.0
- ubuntu stonking: xalan 1.12-12 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms