A
A
Anton2021-04-20 12:25:40
Java
Anton, 2021-04-20 12:25:40

How to convert XML to Word tags?

Hello.
There is a DB in which records are stored. There is a template file in xml, which lists all fields and their values ​​taken from the front.
In Word, for a printable, something like the following (list) is displayed:

[#list base.Application.Entities.Order.Experts as D]${D.Name}, ${D.Position}, ${D.Organization}, ${D.AccreditationOrganization}; [/#list]


Is there an online or offline converter somewhere that can "eat" xml with all fields and where you can play around with tags for Word?
Like https://try.freemarker.apache.org/
I see that you can write variables to it, but not the entire xml file.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
O
Orkhan, 2021-04-20
Hasanly @azerphoenix

Good afternoon!
With Java you can parse xml into objects (Java pojo) and then export to Word (using Apache POI).

Is there an online or offline converter somewhere that can "eat" xml with all fields and where you can play around with tags for Word?

Online you can try this one - https://products.groupdocs.app/conversion/xml-to-doc

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question