How to perform Basic Translation
Translation requires understanding of the type of output file, parameters that don't come from the XML files, XML files and their path, and a location and type of fault to apply for analysis.
Before you start
Review the documentation from Editix prior to starting this tutorial.
Depending on the number of files, see the following:
XSLT transformation for single files.
XML Scenario for multiple files.
Clone the repository as a local copy using the instructions.
How to perform a single-file translation
This task includes loading the project. Once it is loaded, you will run the preconfigured translation for the IEEE 14-bus system.
Open Editix
Start -> editix-xmleditorOpen the project file by entering the path to the local Github repository.
File -> Open Project Enter the path to the github repository 'XSLTConferencePaper'.The project will open in the Project Panel.
Double-click on the 'CIMtoMO4.xsl' file. The multi-view window will open. it will take a second for the XML document to load. The results view will remain empty.
With 'CIMtoMO4.xsl open' in the multi-view window, transform a document by selecting the menu item or clicking the toolbar.
XSLT/XQuery -> Transform a document with this XSLT ... orThe transform dialog will appear. Re-path the
XSLT Document (*.xsl, *.xslt) Document source (*.xml, *.json) Result document (*.html...)for the part including "\XSLTConferencePaper\..." .
Then, click on the Parameters tab and enter the parameters as shown.
The examples/bus-14 CIM files (ieee14_EQ.xml, ieee14_SV.xml, ieee14_TP.xml, and ieee14_DY.xml) are translated and shown in the Result window. They are also stored in the file 'IEEE14.mo' in the 'output' folder.
If the operation is successful, you will see the blue box at the bottom right!