From 189e2e64a789ce9177a62983330fbdb7e2cbfd50 Mon Sep 17 00:00:00 2001 From: Kathy Date: Fri, 30 Mar 2012 10:52:27 +0000 Subject: [PATCH] --- PROMS/fmtxml/FmtToXml.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/PROMS/fmtxml/FmtToXml.cs b/PROMS/fmtxml/FmtToXml.cs index 898bc515..2adbef9d 100644 --- a/PROMS/fmtxml/FmtToXml.cs +++ b/PROMS/fmtxml/FmtToXml.cs @@ -485,7 +485,7 @@ namespace fmtxml { MyPath = path; fmtName = nm; - //if (!fmtName.ToUpper().StartsWith("WCN1") && fmtName.ToUpper() != "BASE") return; + //if (!fmtName.ToUpper().StartsWith("NSP") && fmtName.ToUpper() != "BASE") return; try { // get the default base & plant files to use when figuring out inheritance. @@ -498,7 +498,7 @@ namespace fmtxml { LoadPageFile(nm); string tmpDocName = fmtName; - tmpDocName = tmpDocName.Remove(indx + 1,1); + tmpDocName = tmpDocName.Remove(indx + 1, 1); tmpDocName = tmpDocName.Insert(indx + 1, "y"); LoadDocFile(tmpDocName); } @@ -830,7 +830,7 @@ namespace fmtxml string includeName = GetAsciiString(brFmt); string formatName = GetAsciiString(brFmt); DocStyle[] dcs = null; - if (structName != "DOCSTYL.STR") + if (structName.ToUpper() != "DOCSTYL.STR") { Console.WriteLine("Other Structure {0}", structName); if (structName == "BKPGDOC.STR")