What's New in Oxygen XML Scripting 23.1

March 4, 2021

Version 23.1 of Oxygen XML Scripting allows you to take advantage of new command-line scripts for comparing files or directories and for executing XML refactoring operations. Also, the Batch Converter script now supports converting between JSON and YAML and various arguments were added to existing scripts to offer even more configuration options.

Scripting

The all platforms distribution of Oxygen is bundled with a scripts sub-folder that contains scripts for automating and running various utilities from a command line interface. To run any of these scripts, you are required to purchase a special scripting commercial license.

New Command-Line Script for Comparing Files

A new command-line script (compareFiles) is now available that can be used to compare two specified files in one of three available output formats. You can also add numerous options as arguments and filter the results according to your needs. For details, see Scripting Oxygen: Compare Files. Note that this script requires a special scripting commercial license.

New Command-Line Script for Comparing Directories

A new command-line script (compareDirs) is now available that can be used to compare two specified directories in one of six available output formats. You can also add numerous options as arguments and filter the results according to your needs. For details, see Scripting Oxygen: Compare Directories. Note that this script requires a special scripting commercial license.

New Command-Line Script for Running XML Refactoring Operations

A new command-line script is now available that can be used to execute XML Refactoring Operations. The xmlRefactoring script requires a special scripting commercial license and it helps to reduce the time and effort required to perform various structure management tasks.

Batch Convert JSON to YAML and YAML to JSON

The Batch Converter script (batchConverter) now supports converting multiple JSON documents to YAML or multiple YAML documents to JSON. For details, see the Oxygen Scripting: Batch Converter documentation topic.

Create a Short Description Element from First Paragraph when Batch Converting Markdown to DITA

A new argument (-csd) was added for the Batch Converter script. When set to true, it creates a short description element from the first paragraph before the headings.

Convert Sections into Separate Topics when Batch Converting Markdown or HTML to DITA

The argument (-ss) used for converting sections into separate topics in the Batch Converter script can now be applied on Markdown to DITA or HTML to DITA (previously, it was only available for Word to DITA conversions). When set to true, it converts multiple headings from a Markdown or HTML document into separate individual DITA topics that are also referenced in a newly created DITA map.

New Extended Version of the XML Instance Generator Script

The XML Instance Generator command-line script now has an extended version with additional arguments. For example, the -s argument can be used to specify an XML schema file to be used for the file generation, -r specifies the root element, -o specifies the output directory, -i specifies the number of XML files to be generated, and more.