A couple of questions about the DIH XPath syntax...

The docs say it supports:

   xpath="/a/b/subje...@qualifier='fullTitle']"
   xpath="/a/b/subject/@qualifier"
   xpath="/a/b/c"

Does the second one mean "select the value of the attribute called qualifier
in the /a/b/subject element"?

e.g. For this document:


 
  <subject qualifier="some text" />
 


... I would get the result "some text"?

Also... Can I select a non-leaf node and get *ALL* the text underneath it?
e.g. /a/b in this example?

Thanks!

Andrew.

-- 
View this message in context: 
http://www.nabble.com/Questions-about-XPath-in-data-import-handler-tp24954223p24954223.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to