Results 1 to 4 of 4

Thread: How to get a whole node of Xml as text

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #4
    Join Date
    Jan 2006
    Location
    Graz, Austria
    Posts
    8,416
    Thanks
    37
    Thanked 1,544 Times in 1,494 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: How to get a whole node of Xml as text

    Hmm.

    QXmlStreamReader::readNext() returns an indicator on what the stream is currently at, so it should be possible to "replay" the same things on a QXmlStreamWriter.
    E.g. when the token is StartElement, write a start element and so on.

    Cheers,
    _

  2. The following user says thank you to anda_skoa for this useful post:

    rawfool (19th August 2014)

Similar Threads

  1. Remove node in XML file
    By pinjul in forum Newbie
    Replies: 11
    Last Post: 7th February 2013, 10:14
  2. Designing a Node Editor (Hint: Blender Node Editor)
    By Mind Calamity in forum Qt Programming
    Replies: 4
    Last Post: 5th October 2011, 16:22
  3. Node Shader Editor
    By AMDx64BT in forum Newbie
    Replies: 1
    Last Post: 6th December 2009, 22:30
  4. how to justfy a node is leaf node or not
    By weixj2003ld in forum Qt Programming
    Replies: 4
    Last Post: 9th April 2009, 07:40
  5. how to modify the text of node in xml docment?
    By GChen in forum Qt Programming
    Replies: 5
    Last Post: 26th February 2009, 10:48

Tags for this Thread

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.