lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Twomey, David" <david.two...@novartis.com>
Subject Re: correct XPATH syntax
Date Mon, 30 Apr 2012 20:49:06 GMT
Sorry hit send too soon.  Continued the email below

On 4/30/12 4:46 PM, "Twomey, David" <david.twomey@novartis.com> wrote:

>
>Is this possible in DataImportHandler
>
>I want the following XML to all collapse into one mult-valued Author field
>
><AuthorList CompleteYN="Y">
> <Author ValidYN="Y">
>  <LastName>Sørlie</LastName>
>  <ForeName>T</ForeName>
>  <Initials>T</Initials>
> </Author>
> <Author ValidYN="Y">
>  <LastName>Perou</LastName>
>  <ForeName>C M</ForeName>
>  <Initials>CM</Initials>
> </Author>
> <Author ValidYN="Y">
>  <LastName>Tibshirani</LastName>
>  <ForeName>R</ForeName>
>  <Initials>R</Initials>
> </Author>
>...
>
>So my XPATH is like
>xpath="/MedlineCitationSet/MedlineCitation/AuthorList/??"
>commonField="true" />

>


Mime
View raw message