If I am looking to add special characters to my custom XML that I am injecting into a word doc, what is the preferred method? Is it possible through docx4j, or string manipulation, or what?
I am marshalling a string to XML coming from a Java object, and it has a string token in it. I would like to replace the token in the word document with a bulleted list OR simply a carriage return or something else. I tried to do a string.replace("|","\n\r") on the string, then outputting the XML, injecting to the doc. In my word document the text was all still part of the same line.