On Thu, Aug 13, 2009 at 6:35 PM, Andrew Clegg<andrew.cl...@gmail.com> wrote: > > 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"? yes you are right. Isn't that the semantics of standard xpath syntax? > > 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. > >
-- ----------------------------------------------------- Noble Paul | Principal Engineer| AOL | http://aol.com