WorkbookPublishSettings.ParseXml_GetShowSheetsAsTabs C# (CSharp) Method

ParseXml_GetShowSheetsAsTabs() static private method

Looks for the ShowTabs information inside the XML document
static private ParseXml_GetShowSheetsAsTabs ( XmlDocument xmlDoc ) : bool
xmlDoc XmlDocument
return bool
    static bool ParseXml_GetShowSheetsAsTabs(XmlDocument xmlDoc)
    {
        var xNodeShowTabs = xmlDoc.SelectSingleNode("//" + XmlElement_ShowTabsInWorkbook);

        //If there is no node, then return the default
        if(xNodeShowTabs == null)
        {
            return false;
        }

        return XmlHelper.SafeParseXmlAttribute_Bool(xNodeShowTabs, XmlHelper.XmlAttribute_Value, false);
    }