Results 1 to 2 of 2

Thread: Getting the values from xml file

  1. #1
    Join Date
    Feb 2010
    Posts
    6
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Windows

    Default Getting the values from xml file

    Hi,

    I've managed to read the nodes in a xml files but having difficulties to read the values

    In the xml file it looks like this;

    <Waypoint>151.8 4233.84</Waypoint>

    I did try .nodeValue but that only gave me blank results


    Regards, Kokos.

  2. #2
    Join Date
    Jan 2006
    Location
    Germany
    Posts
    4,380
    Thanks
    19
    Thanked 1,005 Times in 913 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows Symbian S60
    Wiki edits
    5

    Default Re: Getting the values from xml file

    Without seeing any code I can only say: QDomElement::text().

Similar Threads

  1. Reading values from file to array
    By Jeo_ in forum Newbie
    Replies: 0
    Last Post: 24th April 2009, 18:05
  2. Replies: 1
    Last Post: 14th April 2009, 10:49
  3. QComboBox values?
    By dbrmik in forum Newbie
    Replies: 8
    Last Post: 9th January 2009, 08:32
  4. How to get multiple lines values in XML file..
    By dark1988 in forum Qt Programming
    Replies: 3
    Last Post: 22nd July 2008, 08:24
  5. How to read and get the values out of the xml?
    By dark1988 in forum Qt Programming
    Replies: 6
    Last Post: 15th July 2008, 08:41

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.