Results 1 to 10 of 10

Thread: Writing an XML file

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2006
    Location
    Minsk, Brest, Belarus
    Posts
    54
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows
    Thanks
    3
    Thanked 3 Times in 3 Posts

    Default Re: Writing an XML file

    Use QDom or SAX for writing XML files. It is the best way to do it...

  2. #2
    Join Date
    Jan 2006
    Posts
    109
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11
    Thanks
    2
    Thanked 5 Times in 5 Posts

    Default Re: Writing an XML file

    Quote Originally Posted by Xagen
    Use QDom or SAX for writing XML files. It is the best way to do it...
    SAX (and to a lesser extent DOM) is more approriate for parsing files, not writing them, QDomDocument::toString does help to write a file.

  3. #3
    Join Date
    Jan 2006
    Location
    Minsk, Brest, Belarus
    Posts
    54
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows
    Thanks
    3
    Thanked 3 Times in 3 Posts

    Default Re: Writing an XML file

    Quote Originally Posted by dimitri
    SAX (and to a lesser extent DOM) is more approriate for parsing files, not writing them, QDomDocument::toString does help to write a file.
    Look at the Sax and Dom's examples in the QT distribution...

  4. #4
    Join Date
    Mar 2006
    Posts
    10
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows
    Thanks
    4

    Lightbulb Re: Writing an XML file

    Read the following book:
    "Programming with QT3" by J.Blanchette.

Similar Threads

  1. Set up the Qt4.3.2 with Visual Studio 2005
    By lamoda in forum Installation and Deployment
    Replies: 6
    Last Post: 30th January 2008, 07:51
  2. qt-3.3.8 fail in scratchbox
    By nass in forum Installation and Deployment
    Replies: 0
    Last Post: 25th May 2007, 16:21
  3. Writing a XML file
    By Djony in forum Qt Programming
    Replies: 7
    Last Post: 5th February 2007, 17:23
  4. Writing to file at specific
    By safknw in forum Qt Programming
    Replies: 3
    Last Post: 1st December 2006, 12:12
  5. XML file writing
    By mbjerkne in forum Qt Programming
    Replies: 2
    Last Post: 24th May 2006, 20:04

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.