logo       

Problem with intersect: msg#00176

text.xml.exist

Subject: Problem with intersect

Hi,

I have been trying out some example queries in the basic query interface section in the exist webpage, specifically, union and intersect in the Xpath based queries. I am trying out a simple query on /db/Shakespeare/play

 

/PLAY/PERSONAE/TITLE[contains(.,'Dramatis')] or /PLAY/ACT/TITLE[contains(.,'Act I')]  and it returns 185 hits. And if I try /PLAY/PERSONAE/TITLE[contains(.,'Dramatis')] intersect /PLAY/ACT/TITLE[contains(.,'Act I')] I get 0 hits. But when I view individual files in /db/Shakespeare/play, I did find atleast 2 files that satisfied this condition. Can someone explain why intersect does not work in this kind of queries? Is there anything wrong in the syntax that I have used to query?

 

Any input with this issue is greatly appreciated….

 

Thanks,

Regards,

Saritha

 

Saritha Bhandarkar

Research Assistant

Center for Environmental Studies

ASU-Tempe AZ

saritha.bhandarkar@xxxxxxx

 

 

<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise