Python mhtml文件的标签及其含义是否有一个主列表?

Python mhtml文件的标签及其含义是否有一个主列表?,python,excel,lxml,mhtml,Python,Excel,Lxml,Mhtml,我试图从xls文件中读取和提取数据,这些文件实际上是单文件网页,请参见下文 This document is a Single File Web Page, also known as a Web Archive file. 我试图弄清楚所有标记的含义,以便确保使用lxml正确解析它们 例如,以下是标记的示例: <th class=3Dtl colspan=3D1 rowspan=3D2 如果MHTML是由Microsoft Word生成的,那么它可能是和标记的组合 Wordpr

我试图从xls文件中读取和提取数据,这些文件实际上是单文件网页,请参见下文

This document is a Single File Web Page, also known as a Web Archive file.  
我试图弄清楚所有标记的含义,以便确保使用lxml正确解析它们

例如,以下是标记的示例:

 <th class=3Dtl colspan=3D1 rowspan=3D2

如果MHTML是由Microsoft Word生成的,那么它可能是和标记的组合

WordprocessingML文档中的顶级元素包括:

然而,最简单的WordprocessingML文档只包含五个元素(和一个名称空间)。这五个要素是:

SmartTagType element describes a Smart Tag type used in the document.
DocumentProperties element contains Office Document Properties.
CustomDocumentProperties element contains Custom Office Document Properties.
schemaLibrary element defines a collection of schemas that comprise a document's schema library.
fonts element (wordDocumentElt complexType) contains font information
frameset element (wordDocumentElt complexType) contains HTML Frameset definitions.
styles element (wordDocumentElt complexType) contains style definitions.
divs element contains HTML DIV information.
shapeDefaults element contains drawing defaults.
docOleData element contains supplemental data containing storages for OLE objects.
docSuppData element contains supplemental data containing toolbar customizations, envelope data, and the Microsoft Visual Basic project.
docPr element contains document options.
shapeDefaults element contains the wrapper representing the shape defaults.
bgPict element contains background picture information.
body element contains the document body.
wordDocument element: The root element for a WordprocessingML document.
body element: The container for the displayable text.
p element: A paragraph.
r element: A contiguous set of WordprocessingML components with a consistent set of properties.
t element: A piece of text.