public string GetHtmlHeader(TextDocument document) { string html = ""; XmlNode node = this.Styles.SelectSingleNode( "//office:master-styles/style:master-page/style:header", document.NamespaceManager); if (node != null) { } return html; }