ISIS Logo
lvDCOM
An EPICS support module to export LabVIEW values as process variables
fix_xml.cmd
Go to the documentation of this file.
1 @echo off
3 REM @file fix_xml.cmd Adjust the output of the LabVIEW ExportVIStrings() method (which is more like HTML 2.0 than XML!)
4 REM @author Freddie Akeroyd, STFC ISIS Facility, UK
6 REM Usage: fix_xml original_lvexport.txt lvexport.xml
7 REM
8 REM NOTE: you need to have "sed" available in your path (binary available from http://gnuwin32.sourceforge.net/packages/sed.htm)
9 sed -e "s/\([A-Za-z0-9][A-Za-z0-9]*=\)\([A-Za-z0-9][A-Za-z0-9]*\)/\1\"\2\"/g" -e "s/<FONT[^>]*>//g" -e "s/<LF>//g" -e "s/<SAME_AS_LABEL>//g" -e "s/<NO_TITLE[^>]*>//g" -e "s/<<[^>]*>>//g" %1 > %2
REM NOTE
Definition: fix_xml.cmd:10
REM file fix_xml cmd Adjust the output of the LabVIEW ExportVIStrings() method(which is more like HTML 2.0 than XML!)
REM $Id
Definition: fix_xml.cmd:2
echo off
Definition: fix_xml.cmd:1
REM author Freddie Akeroyd
Definition: fix_xml.cmd:4
REM Usage
Definition: fix_xml.cmd:6
REM author Freddie STFC ISIS UK
Definition: fix_xml.cmd:4
REM
Definition: fix_xml.cmd:5
REM author Freddie STFC ISIS Facility
Definition: fix_xml.cmd:4
Copyright © 2013 Science and Technology Facilities Council | Generated by   doxygen 1.8.5