private PdfFile[] parseXmlFile(File inputFile) throws ConcatException {
List fileList = new ArrayList();
String parentPath = null;
try {
LOG.debug("Parsing xml file " + inputFile.getAbsolutePath());
SAXReader reader = new SAXReader();
org.dom4j.Document document = reader.read(inputFile);
List nodes = document.selectNodes("/filelist/*");
parentPath = inputFile.getParent();
for (Iterator iter = nodes.iterator(); iter.hasNext();) {
Node domNode = (Node) iter.next();
String nodeName = domNode.getName();