I am trying to fill a table with xml data (see code below) however nothing happens.
Table inside word doc
«TableStart:projectInformation» «TableStart:item» «description»
«value» «TableEnd:item» «TableEnd:projectInformation»
Code
// Store the xml to a string
/*
<?xml version="1.0" encoding="ISO-8859-1"?>
*/
String xml = writer.toString();
javax.xml.parsers.DocumentBuilder db = DocumentBuilderFactory.newInstance().newDocumentBuilder();
InputStream is = new ByteArrayInputStream(xml.getBytes("utf-8"));
org.w3c.dom.Document xmlDocument = db.parse(is);
doc.getMailMerge().executeWithRegions(new XmlMailMergeDataSet(xmlDocument));