if (files != null)
genDocumentInfo(docinfo, files.toArray(new File[files.size()]), true);
else if (__log.isDebugEnabled())
__log.debug("fillProcessInfo: No files for " + pconf.getProcessId());
TProcessProperties properties = info.addNewProperties();
if (custom.includeProcessProperties()) {
for (Map.Entry<QName, Node> propEntry : pconf.getProcessProperties().entrySet()) {
TProcessProperties.Property tprocProp = properties.addNewProperty();
tprocProp.setName(new QName(propEntry.getKey().getNamespaceURI(), propEntry.getKey().getLocalPart()));
Node propNode = tprocProp.getDomNode();
Document processInfoDoc = propNode.getOwnerDocument();
Node node2append = processInfoDoc.importNode(propEntry.getValue(), true);
propNode.appendChild(node2append);