xpath processing

2010-10-20 Thread pghorpade
I am trying to import mods xml data in solr using the xml/http datasource This does not work with XPathEntityProcessor of the data import handler xpath="/mods/name/namepa...@type = 'date']" I actually have 143 records with type attribute as 'date' for element namePart. Thank you Parinita

Re: xpath processing

2010-10-22 Thread pghorpade
Quoting pghorp...@ucla.edu: Can someone help me please? I am trying to import mods xml data in solr using the xml/http datasource This does not work with XPathEntityProcessor of the data import handler xpath="/mods/name/namepa...@type = 'date']" I actually have 143 records with type attribute

Re: xpath processing

2010-10-22 Thread pghorpade
processor="FileListEntityProcessor" fileName=".*xml" recursive="true" baseDir="C:\data\sample_records\mods\starr"> processor="XPathEntityProcessor" url="${f.fileAbsolutePath}" stream="false" forEach="/mods" transformer="DateFormatTransformer,RegexTransformer,TemplateTransformer">

Re: xpath processing

2010-11-02 Thread pghorpade
http://www.loc.gov/mods/v3"; xmlns:xlink="http://www.w3.org/1999/xlink"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://www.loc.gov/mods/v3 http://www.loc.gov/standards/mods/v3/mods-3-0.xsd";> Any place I hang my hat is home