ByteArrayOutputStream os = new ByteArrayOutputStream();
try {
fopb.setConfiguration(_config);
fopb.setXML(xml);
fopb.setXSL(fopxsl);
fopb.createDocument(os);
os.close();
NSData returnNSData = new NSData(os.toByteArray());
if (logger.isDebugEnabled()) {
logger.debug("xml2Fop2Pdf(String, String, NSDictionary<String,Object>) - end - return value=" + returnNSData); //$NON-NLS-1$
}