diff options
author | xuri <xuri.me@gmail.com> | 2020-07-11 02:31:02 +0800 |
---|---|---|
committer | xuri <xuri.me@gmail.com> | 2020-07-11 02:31:02 +0800 |
commit | 0aa15106947965bdae9daae7571a4a3f569bf32d (patch) | |
tree | 212b49784a953a056169351be9d07e3abefb8a55 /xmlWorkbook.go | |
parent | 42b1c8148883844cf80b70a3096e6ee67be01f61 (diff) |
update docs and improve compatibility
Diffstat (limited to 'xmlWorkbook.go')
-rw-r--r-- | xmlWorkbook.go | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/xmlWorkbook.go b/xmlWorkbook.go index 733eb57..89cacd9 100644 --- a/xmlWorkbook.go +++ b/xmlWorkbook.go @@ -27,9 +27,9 @@ type xlsxRelationship struct { TargetMode string `xml:",attr,omitempty"` } -// xlsxWorkbook directly maps the workbook element from the namespace -// http://schemas.openxmlformats.org/spreadsheetml/2006/main - currently I have -// not checked it for completeness - it does as much as I need. +// xlsxWorkbook contains elements and attributes that encompass the data +// content of the workbook. The workbook's child elements each have their own +// subclause references. type xlsxWorkbook struct { XMLName xml.Name `xml:"http://schemas.openxmlformats.org/spreadsheetml/2006/main workbook"` FileVersion *xlsxFileVersion `xml:"fileVersion"` @@ -153,7 +153,7 @@ type xlsxSheets struct { type xlsxSheet struct { Name string `xml:"name,attr,omitempty"` SheetID int `xml:"sheetId,attr,omitempty"` - ID string `xml:"http://schemas.openxmlformats.org/officeDocument/2006/relationships id,attr,omitempty"` + ID string `xml:"http://schemas.openxmlformats.org/officeDocument/2006/relationships id,attr"` State string `xml:"state,attr,omitempty"` } |