summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxuri <xuri.me@gmail.com>2019-06-01 15:37:47 +0800
committerxuri <xuri.me@gmail.com>2019-06-01 15:37:47 +0800
commitd038ca2e9c755abb6458606a90129559f14dc33b (patch)
tree61cd9dda85b3bb0d9b741d56eb3a90c91a3e076e
parent623375780586cbd323dc899e17d7235ac610505f (diff)
Fix #413, make pivot cache ID not omit empty
-rw-r--r--xmlWorkbook.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmlWorkbook.go b/xmlWorkbook.go
index 90a1427..5384977 100644
--- a/xmlWorkbook.go
+++ b/xmlWorkbook.go
@@ -175,7 +175,7 @@ type xlsxPivotCaches struct {
// xlsxPivotCache directly maps the pivotCache element.
type xlsxPivotCache struct {
- CacheID int `xml:"cacheId,attr,omitempty"`
+ CacheID int `xml:"cacheId,attr"`
RID string `xml:"http://schemas.openxmlformats.org/officeDocument/2006/relationships id,attr,omitempty"`
}