use the script transformer:

<dataConfig>
        
        <document>
<entity name="x" processor="XPathEntityProcessor" forEach="/FULL"
url="D:\Files\${_FileName}" dataSource="FD"
transformer="script:CombinedData">                                
                <field column="id" xpath="/FULL/Customer/@id" />
                <field column="Customer" xpath="/Full/Customer" />
            </entity>


        </document>
</dataConfig>

--
View this message in context: 
http://lucene.472066.n3.nabble.com/how-to-concatenate-two-nodes-of-xml-with-xpathentityprocessor-tp2861260p2941403.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to