diff --git a/xmlSharedStrings.go b/xmlSharedStrings.go index 9a614da2..d86fbb93 100644 --- a/xmlSharedStrings.go +++ b/xmlSharedStrings.go @@ -59,7 +59,7 @@ type xlsxRunProperties struct { // On the serialization, the struct which has "true" will be serialized an empty XML tag without "val" attributes, // and the struct which has "false" will not be serialized. type xlsxBoolProp struct { - Val bool `xml:"val,addr"` + Val bool `xml:"val,attr"` } // MarshalXML implements xml.Marshaler interface for xlsxBoolProp