public override string GetPropertyValueData(XmlNode node, string propertyName) { var nodePath = SettingsXPathCreator.CreateNodeXPath(node) + SettingsXPathCreator.CreatePropertyValeXPath(null, propertyName, XPathCreationOptions.Absolute, false); var result = SettingsStorage.SelectSingleNode(nodePath); var value = result?.InnerText; return(value); }
public override string GetPropertyValueData(XmlNode node, string path, string propertyName, bool navigateAttributeWise = true) { var nodePath = SettingsXPathCreator.CreateNodeXPath(node); var xPath = new XPath.XPath(path, navigateAttributeWise); var additPath = nodePath + SettingsXPathCreator.CreatePropertyValeXPath(xPath, propertyName, XPathCreationOptions.AllowEmpty); var result = SettingsStorage.SelectSingleNode(additPath); var value = result?.InnerText; return(value); }