Shalin, thanks for the pointer. The following data-config.xml worked. The trick was realising that EVERY entity tag needs to have its own datasource, I guess I had been assuming that it was implicit for certain processors.
The whole thing is confusing in that there is both the dataSource element(s), which is to all intents and purposes required, and an optional dataSource attribute of the entity element. If the entity dataSource attribute is missing it defaults to one of the defined ones??? Unless you are using FileListEntityProcessor where you have to explicitly state you are not using a dataSource. As a newbie I think my lesson learnt, is to name every dataSource element I define and to reference named dataSources from every entity element I add, except for FileListEntityProcessor where is has to be set to null. <dataConfig> <document> <dataSource name="myfilereader" type="FileDataSource"/> <entity name="jcurrent" processor="FileListEntityProcessor" dataSource="null" fileName=".*xml" newerThan="'NOW-1000DAYS'" recursive="true" rootEntity="false" baseDir="/Volumes/spare/ts/j/groups"> <entity name="x" processor="XPathEntityProcessor" dataSource="myfilereader" url="${jcurrent.fileAbsolutePath}" stream="false" forEach="/record" transformer="DateFormatTransformer">0 <field column="title" xpath="/record/title"/> <field column="subject" xpath="/record/metadata/subje...@qualifier='fullTitle']"/> <field column="text" xpath="/para" /> <field column="pubname" xpath="/record/metadata/subje...@qualifier='publication']"/> <field column="pubabrev" xpath="/record/metadata/subje...@qualifier='pubAbbrev']"/> <field column="pubdate" xpath="/record/metadata/da...@qualifier='pubDate']"/> </entity> </entity> </document> </dataConfig> Regards Fergus. -- =============================================================== Fergus McMenemie Email:fer...@twig.me.uk Techmore Ltd Phone:(UK) 07721 376021 Unix/Mac/Intranets Analyst Programmer ===============================================================