public static void GetDefaultXmlItemAttributes(XmlNode rootNode, XmlDocument document, IXmlItem xmlItem, bool refLoad = false) { xmlItem.Interface = new XmlItemInterface(rootNode, document, xmlItem); if (refLoad == false) { String refPath = XmlGetter.Attribute(rootNode, "Ref"); if (refPath.Length > 0) { xmlItem.LoadXml(refPath, true); } } }