[PyQt] QXmlQuery (Xpath...)
celsowm
celsowm at gmail.com
Tue Oct 28 12:56:06 GMT 2008
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...
>
>
> How the best way to use XPath in pyqt?
>
--
View this message in context: http://www.nabble.com/QXmlQuery-%28Xpath...%29-tp20132548p20206703.html
Sent from the PyQt mailing list archive at Nabble.com.
More information about the PyQt
mailing list