[Qt-interest] Xml parsing

Dan White ygor at comcast.net
Tue Jul 7 13:04:17 CEST 2009


OOPS !  It has been a while since I did XML with Qt

node.toElement().attributeNode("process").value()

but I would not do it in one line like that for a serious application  
because the attribute Node method can return a NULL

On Jul 7, 2009, at 6:54 AM, Dan White wrote:

> node.toElement().text() ?
>
> On Jul 7, 2009, at 6:14 AM, Yuvaraj R wrote:
>
>> 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
>>
>> _______________________________________________
>> 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/1136ab9c/attachment.html 


More information about the Qt-interest-old mailing list