Results 1 to 3 of 3

Thread: Which parser is better for edit xml file.

  1. #1
    Join Date
    May 2011
    Posts
    120
    Thanks
    9
    Qt products
    Qt3 Qt4
    Platforms
    Windows

    Default Which parser is better for edit xml file.

    Hi

    I am using SAX parser for reading the xml file. How to edit a xml file with SAX parser and which one is better for editing the file (DOM or SAX).

    Thanks.

  2. #2
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: Which parser is better for edit xml file.

    What do you want to do to the file? "Edit it" is rather broad. To change single attributes or element values on a small XML file then DOM is probably better. To filter XML to produce an edited version the SAX might be a good choice. For very large XML files SAX may be the only option.

  3. The following user says thank you to ChrisW67 for this useful post:

    Niamita (13th September 2011)

  4. #3
    Join Date
    May 2011
    Posts
    120
    Thanks
    9
    Qt products
    Qt3 Qt4
    Platforms
    Windows

    Default Re: Which parser is better for edit xml file.

    Ok
    Can you see my another posted thread related to xml file reading.

Similar Threads

  1. Replies: 1
    Last Post: 14th October 2013, 07:07
  2. Replies: 2
    Last Post: 12th October 2010, 20:50
  3. parser
    By mickey in forum General Discussion
    Replies: 2
    Last Post: 23rd September 2009, 12:18
  4. Replies: 1
    Last Post: 17th July 2009, 08:22
  5. How to edit .plist file in mac
    By merry in forum Qt Programming
    Replies: 2
    Last Post: 15th December 2008, 13:32

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.