I have wrote an groovy script in soapui for .docx file creation by docx4j , its working fine and printing also . But the request XML and response XML are not coming in Pretty print , its coming as a paragraph.
Objective: My code will take a xml value and print it on a .docx file with proper xml structure.
Please guide me.
package org.docx4j.samples;
import groovy.xml.*
import org.docx4j.openpackaging.packages.WordprocessingMLPackage
import org.docx4j.XmlUtils;
def xmlUtils = ...