Re: xpathEval fails for large files

2008-07-22 Thread Kanch
On Jul 23, 2:03 am, Stefan Behnel <[EMAIL PROTECTED]> wrote: > Fredrik Lundh wrote: > > Kanchana wrote: > > >> I tried to extract some data with xpathEval. Path contain more than > >> 100,000 elements. > > >> doc = libxml2.parseFile("test.xml") > >> ctxt = doc.xpathNewContext() > >> result = ctxt.x

Re: xpathEval fails for large files

2008-07-23 Thread Kanch
On Jul 23, 11:05 am, Stefan Behnel <[EMAIL PROTECTED]> wrote: > Kanch wrote: > > Original file was 18MB, and contained 288328 element attributes for > > the particular path. > > You didn't say how many elements there are in total, but I wouldn't expect > th