LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

xalan

Apache XSLT processor for XML transformation

TLDR

Transform XML with XSLT
$ java org.apache.xalan.xslt.Process -IN [input.xml] -XSL [style.xsl] -OUT [output.html]
copy
Transform to stdout
$ java org.apache.xalan.xslt.Process -IN [input.xml] -XSL [style.xsl]
copy
Set stylesheet parameter
$ java org.apache.xalan.xslt.Process -IN [input.xml] -XSL [style.xsl] -PARAM [name] [value]
copy
Output as XML
$ java org.apache.xalan.xslt.Process -IN [input.xml] -XSL [style.xsl] -XML
copy
Check environment
$ java org.apache.xalan.xslt.EnvironmentCheck
copy
Use XSLTC compiler
$ java org.apache.xalan.xslt.Process -XSLTC -IN [input.xml] -XSL [style.xsl]
copy

SYNOPSIS

java org.apache.xalan.xslt.Process [options]

DESCRIPTION

Xalan is an XSLT processor for transforming XML documents. It implements XSLT 1.0 and XPath 1.0, transforming XML into HTML, text, or other XML formats based on stylesheet rules.The processor is written in Java and requires the JVM with Xalan JARs in the classpath. It supports the JAXP transformation API and can be used as a library or command-line tool.XSLTC mode compiles stylesheets to Java bytecode for faster repeated transformations. This is useful for server applications processing many documents with the same stylesheet.

PARAMETERS

-IN file

Input XML document URL.
-XSL file
XSLT stylesheet URL.
-OUT file
Output file name.
-PARAM name value
Set stylesheet parameter.
-XML
Output as XML with declaration.
-HTML
Output as HTML.
-TEXT
Output as plain text.
-XSLTC
Use XSLTC compiled transformation.
-V
Display version.
-EDUMP file
Dump stack trace on error.

INSTALL

sudo apt install xalan
copy

CAVEATS

Requires Java runtime and proper classpath setup. XSLT 1.0 only; for XSLT 2.0+ use Saxon. Large documents may require JVM memory tuning.

HISTORY

Xalan was developed by the Apache Software Foundation as part of the Apache XML project. Named after a type of musical instrument, it became one of the most widely used open-source XSLT processors, particularly in Java environments.

SEE ALSO

xsltproc(1), saxon(1), xmllint(1)

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid