-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Closed
Description
I'm trying to iterate over tables to get the text from each of the cells, but after getting the rows of the table and iterating over each row, row.cells is throwing an exception:
docx.oxml.exceptions.InvalidXmlError: required <w:tblGrid> child element not present
I've looked in document.xml file and noticed that it doesn't have w:tblGrid. Is this incompatible? Or is there another way I can get to the values of each cell? The hierarchy is: w:tbl -> w:tr -> w:tc -> w:p -> w:r -> w:t <- this is where the value is in the first cell of the first row
I'm just trying to figure out if this file I'm parsing is compatible or not.
Metadata
Metadata
Assignees
Labels
No labels