You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xindice-users@xml.apache.org by Kam Lai Wong <kl...@hkem.com> on 2002/10/19 09:29:55 UTC
How to correct this XPath
I am sorry, I may post to wrong mail list. I will continue my question in here. Sorry.
Thanks,
> xindice xpath -c /db/cnewsml -q "/NewsML/NewsItem/NewsComponent/NewsLines/ByLine[text()='*Alan*']"
>
> Although, I think you want to do something more like this:
>
> xindice xpath -c /db/cnewsml -q "/NewsML/NewsItem/NewsComponent/NewsLines/ByLine[contains(text(),'Alan')]"
>
Yes , I want to acheive the above result. However, I think Xinidce 1.0 not support with ../ByLine[text()... , right?
Also, I also can't find many information about 'larger than' or 'smaller than' functions..
How about if I want to get the DateId such that it is between '20011201' and '20011231'?
ie. //DateId...?
Thanks
______________________________________________________
HKDict - the latest and easy to use Online Dictionary
http://www.hkdict.com