On Wed, Mar 11, 2009 at 8:32 PM, KennyN <kenneth.n...@sparta.com> wrote:
> > Thanks for the responses guys! > > I looked around the wiki for an example of using DataImportHandler to > iterate over a list of files and read the content into a field and didn't > find anything. I agree it would be useful! > With 1.3 you still have the FileListEntityProcessor and the FileDataSource/XPathEntityProcessor using which you iterate over the XML files you described above. You'll need to write a Transformer which can get the value of the 'id' field, read it's contents and store them into the 'content' field. With 1.4 trunk you can remove the need for the custom Transformer and use FileDataSource/PlainTextEntityProcessor instead. -- Regards, Shalin Shekhar Mangar.