[Qt-interest] Parsing XML page

Srikanth srikanthsombhatla at gmail.com
Wed Mar 30 15:45:53 CEST 2011


Message: 6
Date: Sat, 26 Mar 2011 14:31:34 +0530
From: sarvesh saran <aquarian.thunder at gmail.com>
Subject: [Qt-interest] Fwd:  Parsing XML page
To: qt-interest at trolltech.com
Use XQuery for xml parsing, it reduces lot of boring xml parsing code. Also
DOM structures like XML should be parsed rather than searched with regexp.
QXmlQuery is the class for excuting xquery statements.
You can learn more at
http://developer.qt.nokia.com/quarterly/view/querying_generic_data_with_xquery
http://www.w3schools.com/xquery/default.asp

Thanks,
Srikanth


Message-ID:
       <AANLkTim3TA+zU70mExq+1KzPBvPebHF3DbHGcWLS2nEA at mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"

On Sat, Mar 26, 2011 at 7:07 AM, Nicholas Shatokhin
<n.shatokhin at gmail.com>wrote:

> I downloaded XML page. Now I must parse it and write to table some fields:
> name, author, date, and add to this table delete button. How can I do
this?
> Now I use QRegExp, but I think exists simplest methods.
> How can I add button to table?
>
>
Hi,

For XML, this tutorial may help you...
http://cartan.cas.suffolk.edu/oopdocbook/html/domtreewalking.html

For adding a button to a table you will have to use a delegate. The Qt Docs
can help you there.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20110330/3e4ec87b/attachment.html 


More information about the Qt-interest-old mailing list