Skip to content

gamspreprocessor.transformers

Those module provides transformation functions for data.

Currently only XSLT (via Saxon) is supported.

gamspreprocessor.transformers

The transformers module provides a collection of transformation utilities.

TransformationError

Bases: Exception

Error during the transformation of the XML file.

gamspreprocessor.transformers.xslt

Module to apply xslt on xml files using Saxon.

transform

transform(xml_file, xslt_file, output_file)

Apply a xslt on an xml file using Saxon.

get_saxon_version

get_saxon_version()

Show the version of the Saxon processor.