This commit is contained in:
2010-06-16 14:08:15 +00:00
parent 59d0b105df
commit e0df82c11d
2 changed files with 19 additions and 0 deletions

View File

@@ -55,6 +55,7 @@ namespace VEPROMS.CSLA.Library
*/
if (xmlNode == null) return null;
XmlNode xn = xmlNode.SelectSingleNode(path);
if (xmlNode.Name == "Box") return xn; // if box, don't do inheritance.
if (xn != null) return xn;
//if (path.Contains("Font")) Console.WriteLine("vlnFormatDocument.LookupSingleNode {0},{1}", xmlNode.Name == "Step" ? "Step." + xmlNode.Attributes["Type"].Value : xmlNode.Name, path);
if (xmlNode.Name == "Step") xn = LookupSingleStepNode(xmlNode, path); // Check for Step Inheritance