Results 1 to 3 of 3

Thread: QXmlStreamReader help?

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Nov 2009
    Posts
    59
    Thanks
    20
    Thanked 1 Time in 1 Post
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default QXmlStreamReader help?

    This is a XML file. I want to use QXmlStreamReader to read the value of href, but I don't how to know to get the its value
    Qt Code:
    1. <?xml version="1.0" encoding="UTF-8"?>
    2. <!DOCTYPE xbel>
    3. <xbel version="1.0">
    4. <folder folded="no">
    5. <FullName>Perter</FullName>
    6. <Age>38</Age>
    7. </folder>
    8. <bookmark href="http://qt.nokia.com/"/>
    9. </xbel>
    To copy to clipboard, switch view to plain text mode 
    The XML file is produced by this code after modifing the code
    http://www.java2s.com/Code/Cpp/Qt/Us...reamWriter.htm
    thanks very much
    -------------------------
    Once I have found the sulotion for that
    http://www.qtcentre.org/threads/2507...mlStreamReader
    But my current problem is update the value of href ="http://qt.nokia.com/" to href="http://www.qtcentre.org/"
    Thanks
    Last edited by nthung; 4th October 2011 at 04:18.

Similar Threads

  1. Parsing RSS 2.0 using QXmlStreamReader
    By matsukan in forum Qt Programming
    Replies: 2
    Last Post: 29th August 2011, 11:51
  2. QXmlStreamReader
    By sophister in forum Qt Programming
    Replies: 6
    Last Post: 24th August 2011, 17:31
  3. Possilble Bug? QXmlStreamReader
    By dempsey001 in forum Qt Programming
    Replies: 3
    Last Post: 23rd February 2010, 18:46
  4. Need help with QXmlStreamReader
    By jknotzke in forum Qt Programming
    Replies: 2
    Last Post: 26th October 2009, 09:26
  5. QXmlStreamReader and PrematureEndOfDocumentError
    By SABROG in forum Qt Programming
    Replies: 3
    Last Post: 17th July 2009, 16:53

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
  •  
Qt is a trademark of The Qt Company.