![]() |
OTX-Runtime Converter
|
|
The OTX-Runtime Converter API is a programming interface for the easy, fast and reliable validation and compilation of OTX procedures in own applications. It works independently even without the OTX Development Environment and is available for Windows and Linux. The API is available for DotNet. It works on Window via Net Framework and on Linux via Net6.0 or higher.
The OTX-Runtime Converter API can be integrated into own applications. The API supports
Important: Before loading PTX/PPX/Project, please start standalone BaseXServer (download at https://files.basex.org/releases/9.0.1/BaseX901.zip, unzip and start the basex\bin\basexserver.bat on Windows or basex\bin\basexserver on Linux). Default SERVERPORT is 1984. To change the SERVERPORT, open .basex file and set SERVERPORT to another number. OTX-Runtime Converter API connects to a running BaseXServer via XmlDbPort property.
How the OTX-Runtime Converter API is used can be seen in the source code of the Runtime Converter API Sample program. The basic proceeding how the OTX-Runtime Converter API can be used is described in the following pseudo code example. The example loads, validates and exports a PTX file with build-in CppOutput.