[Qt-interest] XML parsing.

Shabd Swarup V shabd at cadence.com
Thu Mar 12 07:21:41 CET 2009


Hi,

 

The problem I was  facing with using QXmlStreamReader is that it rejects
some valid XML tags as well. Not sure how to make it ignore even if it
finds any invalid tags.

 

Now, I am trying to use QDomDocument. It seems to work quite well.

 

Regards,

Shabd

 

From: qt-interest-bounces at trolltech.com
[mailto:qt-interest-bounces at trolltech.com] On Behalf Of Srikanth Kavoori
Sent: Wednesday, March 11, 2009 1:53 AM
To: qt-interest at trolltech.com
Subject: Re: [Qt-interest] XML parsing.

 

Hi shabd ,

 

I used QXmlStreamReader  with qNetworkAccessMaanger. 

What si ur problem in parsing using QXmlStreamReader ?

 

There is a Qt Implementation , QSimpleReader that does this job of
parsing for you. Have u checked that ?

 

Cheers, <http://picasaweb.google.com/srikanth.kavoori> 

Srikanth Kavoori <http://picasaweb.google.com/srikanth.kavoori> 

 

 

From: qt-interest-bounces at trolltech.com
[mailto:qt-interest-bounces at trolltech.com] On Behalf Of Shabd Swarup V
Sent: Thursday, March 05, 2009 6:53 AM
To: qt-interest at trolltech.com
Subject: [Qt-interest] XML parsing.

 

Hi,

 

I am receiving data over a socket (QTcpSocket) in XML form. What would
be the easiest and most efficient way to parse this XML? I am trying to
use QXmlStreamReader but it seems to be a little problematic in some
places. If someone has used QXmlStreamReader, I can bring out my
problems in more detail, otherwise please suggest any other way to parse
the XML.

 

Thanks in advance.

 

Regards,

Shabd

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090312/ebc6bb14/attachment.html 


More information about the Qt-interest-old mailing list