diff --git a/PROMS/fmtxml/FmtToXml.cs b/PROMS/fmtxml/FmtToXml.cs index e8e76547..12ec6862 100644 --- a/PROMS/fmtxml/FmtToXml.cs +++ b/PROMS/fmtxml/FmtToXml.cs @@ -490,7 +490,7 @@ namespace fmtxml { MyPath = path; fmtName = nm; - //if (!fmtName.ToUpper().StartsWith("RGESMPE") && fmtName.ToUpper() != "BASE") return; + //if (!fmtName.ToUpper().StartsWith("RGESAM1") && fmtName.ToUpper() != "BASE") return; try { // get the default base & plant files to use when figuring out inheritance. @@ -1275,6 +1275,9 @@ namespace fmtxml // ATA page?? wkstr = Regex.Replace(wkstr, @"\x1b", @"{NonSupported Hex 1b}"); + + // replace the \xff33 13 with {Section Number} + wkstr = Regex.Replace(wkstr, @"\xFF33 13", @"{Section Number}"); // replace \xff with \xA0, i.e. hardspace wkstr = Regex.Replace(wkstr, @"\xFF", @"\xA0");