Indigo DRS Data Reporting System Indigo DRS
Python Editor Indigo DRS Help

Python Scripting can be used to Query, Analyze and Transform Report Data and create Report Contexts.

IronPython is an implementation of the Python programming language targeting the .NET Framework and Mono.

The Python Editor allows complex Python statements to be Validated and Executed against the Report Data Source.

IronPython can use the .NET Framework and Python libraries, and other .NET languages can use Python code just as easily.

Report Data can be queried using Python and the Results displayed in the Output Window.

The Report Data Context is passed into Python as environment variables. Click the Properties button to see the environment variables.

Namespaces

XML namespaces are used for providing uniquely named elements and attributes. If the Data Source contains Namespaces they can be applied to the XQuery Processor.

To Add Namespaces open the Report properties and select Namespaces from the Property Page. Add a Namespace, Prefix and URI to the Collection Editor to reflect the Namespaces in the XML Data Source.