ETS4 XML to Calimero 2 XML ------------------------------------ Copyright (C) 2010, 2011 Thomas Wimmer License: GNU Lesser General Public License (LGPL), version 2.1 Version: 1.2 Date: 01.08.2011 Notes and packaged by: Wolfgang Granzer ------------------------------------ Converting an ETS4 XML project file to a Calimero 2 XML Tested with ETS 4.0.3 1. Export ETS4 project: Save your ETS4 project and export it. To do so, choose the slider "ETS", click on the button "Projects", choose your project, and click "Export...". You get a ".knxproj" file which is in fact a ZIP archive. Extract the ".knxproj" file with your favourite zip tool. 2. Convert to Calimero NG XML using XSLT: To convert the ETS4 project file to a Calimero NG XML file, you have to perform an XSLT transformation using the appropriate "XSL" file: "ets4_calimero_gui.xsl": Generates for each KNX group address one single datapoint. The resulting file can be imported into Calimero NG. "ets_calimero_gui_grname.xsl": Generates for each KNX group address one single datapoint where the KNX group address name is used as name for the datapoint. The resulting file can be imported into Calimero NG. "ets4_calimero.xsl": Generates for each application object one single datapoint. Note that different application objects may have the same group address. Therefore, the output can NOT be imported into Calimero NG! However, it can be used for further (manual) processing. To perform the XSLT transformation, you have to copy the chosen "XSL" file into the root directory of the extracted ETS4 project. Then, you have to invoke an appropriate XSLT tool. Under Linux you may use "xsltproc": xsltproc -o The source XML file is called "0.xml" which is contained within the sub directory that begins with a "P" (e.g., P-0497). E.g.: xsltproc -o calimero.xml ets4_calimero_gui.xsl P-0497/0.xml Under Windows, you may use: http://saxon.sourceforge.net/ ------------------------------------ Developed at the A-Lab Automation Systems Group Vienna University of Technology www.auto.tuwien.ac.at/a-lab