I want to update a PowerPoint template using Go and Unioffice library.
For Example:
-
I have key and value in ppt as
firstname:${firstname} lastname:${lastname}
-
I have an XML file which contains below data:
<firstname> Arjun </firstname> <lastname> Rathore</lastname>
I want to dynamically update the ppt
firstname
withArjun
andlastname
withRathore
.
I tried to do it using Go and Unioffice library, but I am not able to update the ppt with XML file data.
Please find the attached code screen shot: enter image description here