Explorar el Código

Fix #413, make pivot cache ID not omit empty

xuri hace 6 años
padre
commit
d038ca2e9c
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      xmlWorkbook.go

+ 1 - 1
xmlWorkbook.go

@@ -175,7 +175,7 @@ type xlsxPivotCaches struct {
 
 
 // xlsxPivotCache directly maps the pivotCache element.
 // xlsxPivotCache directly maps the pivotCache element.
 type xlsxPivotCache struct {
 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"`
 	RID     string `xml:"http://schemas.openxmlformats.org/officeDocument/2006/relationships id,attr,omitempty"`
 }
 }