Re: Questions about XPath in data import handler

2009-08-14 Thread Andrew Clegg
Noble Paul നോബിള്‍ नोब्ळ्-2 wrote: > > yes. look at the 'flatten' attribute in the field. It should give you > all the text (not attributes) under a given node. > > I missed that one -- many thanks. Andrew. -- View this message in context: http://www.nabble.com/Questions-about-XPath-in-d

Re: Questions about XPath in data import handler

2009-08-13 Thread Noble Paul നോബിള്‍ नोब्ळ्
yes. look at the 'flatten' attribute in the field. It should give you all the text (not attributes) under a given node. On Thu, Aug 13, 2009 at 8:02 PM, Andrew Clegg wrote: > > > > Noble Paul നോബിള്‍  नोब्ळ्-2 wrote: >> >> On Thu, Aug 13, 2009 at 6:35 PM, Andrew Clegg >> wrote: >> >>> Does the s

Re: Questions about XPath in data import handler

2009-08-13 Thread Andrew Clegg
Noble Paul നോബിള്‍ नोब्ळ्-2 wrote: > > On Thu, Aug 13, 2009 at 6:35 PM, Andrew Clegg > wrote: > >> Does the second one mean "select the value of the attribute called >> qualifier >> in the /a/b/subject element"? > > yes you are right. Isn't that the semantics of standard xpath syntax? > Ye

Re: Questions about XPath in data import handler

2009-08-13 Thread Noble Paul നോബിള്‍ नोब्ळ्
On Thu, Aug 13, 2009 at 6:35 PM, Andrew Clegg 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

Re: Questions about XPath in data import handler

2009-08-13 Thread Andrew Clegg
Andrew Clegg wrote: > > > Sorry, Nabble swallowed my XML example. That was supposed to be [a] [b] [subject qualifier="some text" /] [/b] [/a] ... but in XML. Andrew. -- View this message in context: http://www.nabble.com/Questions-about-XPath-in-data-import-handler-tp24954223p249