-
Notifications
You must be signed in to change notification settings - Fork 3
/
Do61970TransformB3.bat
39 lines (36 loc) · 2.25 KB
/
Do61970TransformB3.bat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
@echo off
rem **************************************************************************
rem * Batch file for building the documentation from the Data type *
rem * and IED templates in the SCL file *
rem * *
rem * Prepared by: Denis Francesconi *
rem * COPYRIGHT UCAIug, 2012. Version 0.3 Release 2012/07/04. *
rem * *
rem * *
rem * This library is free software; you can redistribute it and/or *
rem * modify it under the terms of the GNU Lesser General Public *
rem * License as published by the Free Software Foundation, *
rem * version 3 of the License. *
rem * *
rem * This library is distributed in the hope that it will be useful, *
rem * but WITHOUT ANY WARRANTY. *
rem * *
rem * You should have received a copy of the GNU Lesser General Public *
rem * License along with this library; if not, write to the Free Software *
rem * Foundation, Inc., 51 Franklin Street, Fifth Floor, *
rem * Boston, MA 02110-1301 USA *
rem **************************************************************************
rem * REVISION 1: December 12 , 2012 *
rem **************************************************************************
rem
rem location and name of your LD project
set xslproc1=msxsl.exe
set xslproc2=java -jar saxon9.jar
set xslproc3=cscript msxsl.js
@echo off
rem %xslproc1% ABB40BUS20120712_sav_40B_EQ.xml CIM2UANodeset3.xsl -o IEC_61970_UANodesetB3.xml
%xslproc2% ABB40BUS20120712_sav_40B_EQ.xml CIM2UANodeset3.xsl > IEC_61970_UANodesetB3.xml
rem %xslproc3% ABB40BUS20120712_sav_40B_EQ.xml CIM2UANodeset3.xsl IEC_61970_UANodesetB3.xml
ECHO JOB COMPLETED
PAUSE
REM wait 200