Command file to adjust output of LabVIEW ExportVIStrings to allow parsing by XML utilities (controls.txt -> controls.xml)
REM @file fix_xml.cmd Adjust the output of the LabVIEW
ExportVIStrings() method (which is more like HTML 2.0 than XML!)
REM Usage: fix_xml original_lvexport.txt lvexport.xml
REM NOTE: you need to have "sed" available in your path (binary available from http:
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[^>]*>