The configuraiton works with LineEntityProcessor, with few documents (havn
(t test with many documents yet.
For information this the config
<dataConfig>
        <dataSource name="myfilelist" baseUrl="file:///D:/jed/noticesBib/"
type="URLDataSource" encoding="UTF-8" />

        <document>

                        <!-- config avec fichier contenant la liste des xml a
ouvrir. -->
                        <entity name="noticebib"
                                        datasource="myfilelist"
                                        processor="LineEntityProcessor"
                                        acceptLineRegex="^.*\.xml$"
                                        url="listeNotices.txt"
                                        rootEntity="false"
                                        transformer="LogTransformer" 
logTemplate="In
entity noticebib" logLevel="debug"

                                >
                                <entity  name="processorDocument"
                                        processor="XPathEntityProcessor"
                                        url="file:///D:/${noticebib.rawLine}"
                                        xsl="xslt/mnb/IXM_MNb.xsl"
                                        forEach="/record"

transformer="fr.bnf.solr.BnfDateTransformer,LogTransformer"
logTemplate="In entity processorDocument fichier: file:///D:/$
{noticebib.rawLine}" logLevel="debug"
                                >
                                        ... fields defintion

file:///D:/jed/noticesBib/listeNotices.txt contains the follwing lines
jed/noticesBib/3/4/307/34307035.xml
jed/noticesBib/3/4/307/34307082.xml
jed/noticesBib/3/4/307/34307110.xml
jed/noticesBib/3/4/307/34307197.xml
jed/noticesBib/3/4/307/34307350.xml
jed/noticesBib/3/4/307/34307399.xml
...
(Could have containes all the location with the beginning, but I wanted to
test the concatenation of filename.

That works fine, thanks for the help!!

Next step, the same without using a file. (I'll write it in another post).

Regards,
Jérôme

Exposition  Guy Debord, un art de la guerre  - du 27 mars au 13 juillet 2013 - 
BnF - François-Mitterrand / Grande Galerie Avant d'imprimer, pensez à 
l'environnement. 

Reply via email to