Results 1 to 2 of 2

Thread: convert a text file with space as delimiter into xml file

  1. #1
    Join Date
    Jan 2011
    Posts
    14
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default convert a text file with space as delimiter into xml file

    Hi.......
    I have a text file with sapce as delimiter and i want it to convert into xml file format. how should i do it?

  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: convert a text file with space as delimiter into xml file

    One line at a time. You might use QFile, QTextStream and QXmlStreamWriter or you might need to do it some other way. We really have no way to know.

    How to Ask Questions The Smart Way

Similar Threads

  1. Replies: 9
    Last Post: 17th November 2010, 07:18
  2. Not enough space to save file
    By ^NyAw^ in forum Qt Programming
    Replies: 1
    Last Post: 24th May 2010, 23:14
  3. Convert doc into txt file using Qt
    By live_07 in forum Qt Programming
    Replies: 1
    Last Post: 23rd January 2009, 14:27
  4. Restrict user from entering space in Save As File Name
    By jyoti kumar in forum Qt Programming
    Replies: 1
    Last Post: 5th September 2007, 12:47
  5. Replies: 3
    Last Post: 25th May 2007, 07:49

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.