[Qt-interest] Xml parsing

Yuvaraj R yuvaraj at ongobiz.com
Tue Jul 7 14:29:15 CEST 2009


Hi  All

 Do like this
QDomElement  child = root.firstchildElement;

if(child.attribute("process") == "frenzlist")
{
   // do something;
}


try.. try  until your



On Tue, Jul 7, 2009 at 4:44 PM, Jon Flowers <Jon.Flowers at pgs.com> wrote:

>  Too true, reading too quickly.
>
>
>
>
>
> *From:* qt-interest-bounces at trolltech.com [mailto:
> qt-interest-bounces at trolltech.com] *On Behalf Of *Dan White
> *Sent:* Tuesday, July 07, 2009 1:10 PM
> *To:* qt-interest List
>
> *Subject:* Re: [Qt-interest] Xml parsing
>
>
>
> Right idea, wrong calling arg -- you want to use the attribute name to get
> the value
>
>
>
> On Jul 7, 2009, at 7:01 AM, Jon Flowers wrote:
>
>
>
>  node.toElement().attribute(“frenzlist”);
>
>
>
>
>
> *From:* qt-interest-bounces at trolltech.com [
> mailto:qt-interest-bounces at trolltech.com<qt-interest-bounces at trolltech.com>]
> *On Behalf Of *Yuvaraj R
> *Sent:* Tuesday, July 07, 2009 12:15 PM
> *To:* Oliver.Knoll at comit.ch
> *Cc:* qt-interest at trolltech.com
> *Subject:* Re: [Qt-interest] Xml parsing
>
>
>
> how i get the  process text
>
>
>
> from  <service process="frenzlist">
>
>
>
>
>
>
>
> Thanks
>
> Yuvaraj R
>
> On Tue, Jul 7, 2009 at 3:28 PM, <Oliver.Knoll at comit.ch> wrote:
>
> Yuvaraj R wrote on Tuesday, July 07, 2009 11:42 AM:
>
>
> > Hi All
> >
> > My xml file is look like
>
> > ...
> > Thanks
>
> Uhm... you're welcome. What exactly was your question again?
>
> ;)
>
>
> Cheers, Oliver
> --
> Oliver Knoll
> Dipl. Informatik-Ing. ETH
> COMIT AG - ++41 79 520 95 22
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>
>
>
> This e-mail, any attachments and response string may contain proprietary
> information, which are confidential and may be legally privileged. It is for
> the intended recipient only and if you are not the intended recipient or
> transmission error has misdirected this e-mail, please notify the author by
> return e-mail and delete this message and any attachment immediately. If you
> are not the intended recipient you must not use, disclose, distribute,
> forward, copy, print or rely in this e-mail in any way except as permitted
> by the author.
>
> _______________________________________________
>
> Qt-interest mailing list
>
> Qt-interest at trolltech.com
>
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>
>
>  This e-mail, any attachments and response string may contain proprietary
> information, which are confidential and may be legally privileged. It is for
> the intended recipient only and if you are not the intended recipient or
> transmission error has misdirected this e-mail, please notify the author by
> return e-mail and delete this message and any attachment immediately. If you
> are not the intended recipient you must not use, disclose, distribute,
> forward, copy, print or rely in this e-mail in any way except as permitted
> by the author.
>
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090707/b5534886/attachment.html 


More information about the Qt-interest-old mailing list