0

I am currently using Thymeleaf to parse a HTML document and output it as a String which is then used to perform further operations.

I now need to pass Thymeleaf's output to a library which expects a org.w3c.dom.Document instead of a plain String, but I can't figure out how to do it without using another tool (I'd prefer not to do so).

Is there a way to make Thymeleaf output a org.w3c.dom.Document?

gscaparrotti
  • 663
  • 5
  • 21

0 Answers0