Is there a way i can add a paragraph in a template at a specified location. I was able to unmarshall a para with some content added in there and i am trying to append that in a placeholder.
- Code: Select all
mappings.put("INTFCONTENT", paraFragment);
Object obj = XmlUtils.unmarshallFromTemplate(xml, mappings);
paraFragment is my unmarshalled String . Unfortunately does not work.
I persume we cannot add <w:p> in <w:t> . What will be the workaround for this ?
Cheers
Ram