Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Are there any XSLT processing command line tools? [closed]

I want to change an XML file to a modified XML file via an XSLT file and XSLT processing tool.

For example: xsltprocess.exe -src a.xml -dest b.xml -xslt c.xslt

Can anyone assist me?

like image 953
sjuu Avatar asked Jun 29 '11 20:06

sjuu


People also ask

Is XSLT still a thing?

As of August 2022, the most recent stable version of the language is XSLT 3.0, which achieved Recommendation status in June 2017. XSLT 3.0 implementations support Java, . NET, C/C++, Python, PHP and NodeJS. An XSLT 3.0 Javascript library can also be hosted within the Web Browser.

How use Xsltproc Linux?

If a stylesheet is included in an XML document with a Stylesheet Processing Instruction, no stylesheet need to be named at the command line. xsltproc will automatically detect the included stylesheet and use it. By default, output is to stdout. You can specify a file for output using the -o or --output option.


1 Answers

If you are looking for an XSLT processor you can use Saxon: http://saxon.sourceforge.net/

You can see the command line options here: http://saxon.sourceforge.net/saxon6.5.1/using-xsl.html

like image 81
Mathias Schwarz Avatar answered Sep 23 '22 12:09

Mathias Schwarz