我想要移动节点顺序。应该是页眉节点表格信息页脚节点

or section in _doc.sections:
# 读取页眉
section = section.as_section()
if section.headers_footers.header_primary:
heard = section.headers_footers.header_primary.get_text()
print(f"页眉 (heard) 内容: {heard}")
headers.append(heard)

                    # 读取正文中的表格
                    _tables = section.body.get_child_nodes(aw.NodeType.TABLE, True)
                    for table in _tables:
                        table_list.append(table)
                        table = table.as_table()
                        for row in table.rows:
                            _row = ""
                            for cell in row.as_row().cells:
                                if _row:
                                    _row = (
                                        _row
                                        + "\t"
                                        + cell.as_cell().get_text().strip()
                                    )
                                else:
                                    _row = cell.as_cell().get_text().strip()
                            # table_list.append(row)
                    if section.headers_footers.footer_primary:
                        fooot = section.headers_footers.footer_primary.get_text()
                        print(f"页脚(fooot) 内容: {fooot}")
                        fooots.append(fooot)