1
0
mirror of https://github.com/fumiama/go-docx.git synced 2026-06-12 11:40:28 +08:00

add xmlns wp

This commit is contained in:
源文雨
2023-02-09 12:17:03 +08:00
parent ae07360d5e
commit 20d91d61a4
5 changed files with 14 additions and 8 deletions

View File

@@ -39,6 +39,7 @@ func processDoc(file *zip.File, doc *Document) error {
doc.XMLW = XMLNS_W
doc.XMLR = XMLNS_R
doc.XMLWP = XMLNS_WP
doc.XMLName.Space = XMLNS_W
doc.XMLName.Local = "document"
err = xml.Unmarshal(filebytes, doc)