在我找到这个之前,一切都很顺利
Next, create the custom XML file containing the data for this document, and store it in the package.
Store the custom XML in memory and add placeholders for the actual data.
我在辨别将自定义XML存储在哪里以及他将其存储在内存中是什么意思时遇到了麻烦。作者还继续将该文件称为package,所以这是否意味着我应该将word模板保留为.zip格式?
原始表
+-- Col 1 --+-- Col 2 --+
+-- 1 --+-- a --+
+-- 1 --+-- b --+
+-- 1 --+-- c --+
+-- 2 --+-- d --+
+-- 3 --+-- e --+
+-- 3 --+-- f --+
+-----------------------+
结果:
+-- Col 1 --+-- Col 2 --+
+-- 1 --+-- a --+
+-- 2 --+-- d --+
+--