[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    Re: [PyQt] QXmlQuery (Xpath...)
From:       David Boddie <david () boddie ! org ! uk>
Date:       2008-10-31 0:17:30
Message-ID: 200810310117.30842.david () boddie ! org ! uk
[Download RAW message or body]

On Tue, 28 Oct 2008 05:56:06 -0700 (PDT), celsowm wrote:

> celsowm wrote:
> > I tried a simple xptah sample, like this:
> >
> > from PyQt4 import QtXmlPatterns, QtCore
> >
> > query.setQuery("doc('index.htm')/html/body/p[1]");
> > x = QtCore.QStringList;
> > myFile = QtCore.QFile("index.htm")
> > serializer = QtXmlPatterns.QXmlSerializer(query,myFile);
> > query.evaluateTo(x); #dll error if use serealizer...

Can you post the output, the versions of Qt and PyQt, and details of the
platform you are using, please? If you really are getting a crash when
you call this method, there's something seriously wrong somewhere.

David
_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic