From 5a34e3c7f055f30815e56dd043fa6e80f809288f Mon Sep 17 00:00:00 2001 From: Kathy Date: Mon, 30 Apr 2012 13:50:14 +0000 Subject: [PATCH] --- PROMS/fmtxml/FmtToXml.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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");